
 
 
 
 
 
 N e t w o r k   W o r k i n g   G r o u p                                                                                       P .   P h a a l 
 R e q u e s t   f o r   C o m m e n t s :   3 1 7 6                                                                         S .   P a n c h e n 
 C a t e g o r y :   I n f o r m a t i o n a l                                                                                   N .   M c K e e 
                                                                                                                           I n M o n   C o r p . 
                                                                                                                     S e p t e m b e r   2 0 0 1 
 
 
           I n M o n   C o r p o r a t i o n ' s   s F l o w :   A   M e t h o d   f o r   M o n i t o r i n g   T r a f f i c   i n 
                                             S w i t c h e d   a n d   R o u t e d   N e t w o r k s 
 
 S t a t u s   o f   t h i s   M e m o 
 
       T h i s   m e m o   p r o v i d e s   i n f o r m a t i o n   f o r   t h e   I n t e r n e t   c o m m u n i t y .     I t   d o e s 
       n o t   s p e c i f y   a n   I n t e r n e t   s t a n d a r d   o f   a n y   k i n d .     D i s t r i b u t i o n   o f   t h i s 
       m e m o   i s   u n l i m i t e d . 
 
 C o p y r i g h t   N o t i c e 
 
       C o p y r i g h t   ( C )   T h e   I n t e r n e t   S o c i e t y   ( 2 0 0 1 ) .     A l l   R i g h t s   R e s e r v e d . 
 
 A b s t r a c t 
 
       T h i s   m e m o   d e f i n e s   I n M o n   C o p o r a t i o n ' s   s F l o w   s y s t e m .     s F l o w   i s   a 
       t e c h n o l o g y   f o r   m o n i t o r i n g   t r a f f i c   i n   d a t a   n e t w o r k s   c o n t a i n i n g 
       s w i t c h e s   a n d   r o u t e r s .     I n   p a r t i c u l a r ,   i t   d e f i n e s   t h e   s a m p l i n g 
       m e c h a n i s m s   i m p l e m e n t e d   i n   a n   s F l o w   A g e n t   f o r   m o n i t o r i n g   t r a f f i c ,   t h e 
       s F l o w   M I B   f o r   c o n t r o l l i n g   t h e   s F l o w   A g e n t ,   a n d   t h e   f o r m a t   o f   s a m p l e 
       d a t a   u s e d   b y   t h e   s F l o w   A g e n t   w h e n   f o r w a r d i n g   d a t a   t o   a   c e n t r a l   d a t a 
       c o l l e c t o r . 
 
 T a b l e   o f   C o n t e n t s 
 
       1 .     O v e r v i e w   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .     2 
       2 .     S a m p l i n g   M e c h a n i s m s   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .     2 
               2 . 1   S a m p l i n g   o f   S w i t c h e d   F l o w s   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .     3 
                       2 . 1 . 1   D i s t r i b u t e d   S w i t c h i n g   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .     4 
                       2 . 1 . 2   R a n d o m   N u m b e r   G e n e r a t i o n   . . . . . . . . . . . . . . . . . . . . . . . . . . .     4 
               2 . 2   S a m p l i n g   o f   N e t w o r k   I n t e r f a c e   S t a t i s t i c s   . . . . . . . . . . . . . . . . .     4 
       3 .     s F l o w   M I B   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .     5 
               3 . 1   T h e   S N M P   M a n a g e m e n t   F r a m e w o r k   . . . . . . . . . . . . . . . . . . . . . . . . . . . .     5 
               3 . 2   D e f i n i t i o n s   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .     6 
       4 .     s F l o w   D a t a g r a m   F o r m a t   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   1 4 
       5 .     S e c u r i t y   C o n s i d e r a t i o n s   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   2 5 
               5 . 1   C o n t r o l   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   2 6 
               5 . 2   T r a n s p o r t   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   2 6 
               5 . 3   C o n f i d e n t i a l i t y   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   2 6 
       6 .     R e f e r e n c e s   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   2 7 
       7 .     A u t h o r s '   A d d r e s s e s   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   2 9 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                             [ P a g e   1 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
       8 .     I n t e l l e c t u a l   P r o p e r t y   S t a t e m e n t   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   3 0 
       9 .     F u l l   C o p y r i g h t   S t a t e m e n t   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   3 1 
 
 1 .   O v e r v i e w 
 
       s F l o w   i s   a   t e c h n o l o g y   f o r   m o n i t o r i n g   t r a f f i c   i n   d a t a   n e t w o r k s 
       c o n t a i n i n g   s w i t c h e s   a n d   r o u t e r s .     I n   p a r t i c u l a r ,   i t   d e f i n e s   t h e 
       s a m p l i n g   m e c h a n i s m s   i m p l e m e n t e d   i n   a n   s F l o w   A g e n t   f o r   m o n i t o r i n g 
       t r a f f i c ,   t h e   s F l o w   M I B   f o r   c o n t r o l l i n g   t h e   s F l o w   A g e n t ,   a n d   t h e 
       f o r m a t   o f   s a m p l e   d a t a   u s e d   b y   t h e   s F l o w   A g e n t   w h e n   f o r w a r d i n g   d a t a   t o 
       a   c e n t r a l   d a t a   c o l l e c t o r . 
 
       T h e   a r c h i t e c t u r e   a n d   s a m p l i n g   t e c h n i q u e s   u s e d   i n   t h e   s F l o w   m o n i t o r i n g 
       s y s t e m   a r e   d e s i g n e d   t o   p r o v i d e   c o n t i n u o u s   s i t e - w i d e   ( a n d   n e t w o r k - 
       w i d e )   t r a f f i c   m o n i t o r i n g   f o r   h i g h   s p e e d   s w i t c h e d   a n d   r o u t e d   n e t w o r k s . 
 
       T h e   d e s i g n   s p e c i f i c a l l y   a d d r e s s e s   i s s u e s   a s s o c i a t e d   w i t h : 
 
       o   A c c u r a t e l y   m o n i t o r i n g   n e t w o r k   t r a f f i c   a t   G i g a b i t   s p e e d s   a n d   h i g h e r . 
 
       o   S c a l i n g   t o   m a n a g e   t e n s   o f   t h o u s a n d s   o f   a g e n t s   f r o m   a   s i n g l e   p o i n t . 
 
       o   E x t r e m e l y   l o w   c o s t   a g e n t   i m p l e m e n t a t i o n . 
 
       T h e   s F l o w   m o n i t o r i n g   s y s t e m   c o n s i s t s   o f   a n   s F l o w   A g e n t   ( e m b e d d e d   i n   a 
       s w i t c h   o r   r o u t e r   o r   i n   a   s t a n d   a l o n e   p r o b e )   a n d   a   c e n t r a l   d a t a 
       c o l l e c t o r ,   o r   s F l o w   A n a l y z e r . 
 
       T h e   s F l o w   A g e n t   u s e s   s a m p l i n g   t e c h n o l o g y   t o   c a p t u r e   t r a f f i c 
       s t a t i s t i c s   f r o m   t h e   d e v i c e   i t   i s   m o n i t o r i n g .     s F l o w   D a t a g r a m s   a r e 
       u s e d   t o   i m m e d i a t e l y   f o r w a r d   t h e   s a m p l e d   t r a f f i c   s t a t i s t i c s   t o   a n 
       s F l o w   A n a l y z e r   f o r   a n a l y s i s . 
 
       T h i s   d o c u m e n t   d e s c r i b e s   t h e   s a m p l i n g   m e c h a n i s m s   u s e d   b y   t h e   s F l o w 
       A g e n t ,   t h e   S F L O W   M I B   u s e d   b y   t h e   s F l o w   A n a l y z e r   t o   c o n t r o l   t h e   s F l o w 
       A g e n t ,   a n d   t h e   s F l o w   D a t a g r a m   F o r m a t   u s e d   b y   t h e   s F l o w   A g e n t   t o   s e n d 
       t r a f f i c   d a t a   t o   t h e   s F l o w   A n a l y z e r . 
 
 2 .   S a m p l i n g   M e c h a n i s m s 
 
       T h e   s F l o w   A g e n t   u s e s   t w o   f o r m s   o f   s a m p l i n g :   s t a t i s t i c a l   p a c k e t - b a s e d 
       s a m p l i n g   o f   s w i t c h e d   f l o w s ,   a n d   t i m e - b a s e d   s a m p l i n g   o f   n e t w o r k 
       i n t e r f a c e   s t a t i s t i c s . 
 
 
 
 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                             [ P a g e   2 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
 2 . 1   S a m p l i n g   o f   S w i t c h e d   F l o w s 
 
       A   f l o w   i s   d e f i n e d   a s   a l l   t h e   p a c k e t s   t h a t   a r e   r e c e i v e d   o n   o n e 
       i n t e r f a c e ,   e n t e r   t h e   S w i t c h i n g / R o u t i n g   M o d u l e   a n d   a r e   s e n t   t o   a n o t h e r 
       i n t e r f a c e .     I n   t h e   c a s e   o f   a   o n e - a r m e d   r o u t e r ,   t h e   s o u r c e   a n d 
       d e s t i n a t i o n   i n t e r f a c e   c o u l d   b e   t h e   s a m e .     I n   t h e   c a s e   o f   a   b r o a d c a s t 
       o r   m u l t i c a s t   p a c k e t   t h e r e   m a y   b e   m u l t i p l e   d e s t i n a t i o n   i n t e r f a c e s . 
       T h e   s a m p l i n g   m e c h a n i s m   m u s t   e n s u r e   t h a t   a n y   p a c k e t   i n v o l v e d   i n   a   f l o w 
       h a s   a n   e q u a l   c h a n c e   o f   b e i n g   s a m p l e d ,   i r r e s p e c t i v e   o f   t h e   f l o w   t o 
       w h i c h   i t   b e l o n g s . 
 
       S a m p l i n g   f l o w s   i s   a c c o m p l i s h e d   a s   f o l l o w s :   W h e n   a   p a c k e t   a r r i v e s   o n 
       a n   i n t e r f a c e ,   a   f i l t e r i n g   d e c i s i o n   i s   m a d e   t h a t   d e t e r m i n e s   w h e t h e r 
       t h e   p a c k e t   s h o u l d   b e   d r o p p e d .     I f   t h e   p a c k e t   i s   n o t   f i l t e r e d   a 
       d e s t i n a t i o n   i n t e r f a c e   i s   a s s i g n e d   b y   t h e   s w i t c h i n g / r o u t i n g   f u n c t i o n . 
       A t   t h i s   p o i n t   a   d e c i s i o n   i s   m a d e   o n   w h e t h e r   o r   n o t   t o   s a m p l e   t h e 
       p a c k e t .     T h e   m e c h a n i s m   i n v o l v e s   a   c o u n t e r   t h a t   i s   d e c r e m e n t e d   w i t h 
       e a c h   p a c k e t .     W h e n   t h e   c o u n t e r   r e a c h e s   z e r o   a   s a m p l e   i s   t a k e n . 
       W h e t h e r   o r   n o t   a   s a m p l e   i s   t a k e n ,   t h e   c o u n t e r   T o t a l _ P a c k e t s   i s 
       i n c r e m e n t e d .     T o t a l _ P a c k e t s   i s   a   c o u n t   o f   a l l   t h e   p a c k e t s   t h a t   c o u l d 
       h a v e   b e e n   s a m p l e d . 
 
       T a k i n g   a   s a m p l e   i n v o l v e s   e i t h e r   c o p y i n g   t h e   p a c k e t ' s   h e a d e r ,   o r 
       e x t r a c t i n g   f e a t u r e s   f r o m   t h e   p a c k e t   ( s e e   s F l o w   D a t a g r a m   F o r m a t   f o r   a 
       d e s c r i p t i o n   o f   t h e   d i f f e r e n t   f o r m s   o f   s a m p l e ) .     E v e r y   t i m e   a   s a m p l e 
       i s   t a k e n ,   t h e   c o u n t e r   T o t a l _ S a m p l e s ,   i s   i n c r e m e n t e d .     T o t a l _ S a m p l e s 
       i s   a   c o u n t   o f   t h e   n u m b e r   o f   s a m p l e s   g e n e r a t e d .     S a m p l e s   a r e   s e n t   b y 
       t h e   s a m p l i n g   e n t i t y   t o   t h e   s F l o w   A g e n t   f o r   p r o c e s s i n g .     T h e   s a m p l e 
       i n c l u d e s   t h e   p a c k e t   i n f o r m a t i o n ,   a n d   t h e   v a l u e s   o f   t h e   T o t a l _ P a c k e t s 
       a n d   T o t a l _ S a m p l e s   c o u n t e r s . 
 
       W h e n   a   s a m p l e   i s   t a k e n ,   t h e   c o u n t e r   i n d i c a t i n g   h o w   m a n y   p a c k e t s   t o 
       s k i p   b e f o r e   t a k i n g   t h e   n e x t   s a m p l e   s h o u l d   b e   r e s e t .     T h e   v a l u e   o f   t h e 
       c o u n t e r   s h o u l d   b e   s e t   t o   a   r a n d o m   i n t e g e r   w h e r e   t h e   s e q u e n c e   o f 
       r a n d o m   i n t e g e r s   u s e d   o v e r   t i m e   s h o u l d   b e   s u c h   t h a t 
 
       ( 1 )   T o t a l _ P a c k e t s / T o t a l _ S a m p l e s   =   R a t e 
 
       A n   a l t e r n a t i v e   s t r a t e g y   f o r   p a c k e t   s a m p l i n g   i s   t o   g e n e r a t e   a   r a n d o m 
       n u m b e r   f o r   e a c h   p a c k e t ,   c o m p a r e   t h e   r a n d o m   n u m b e r   t o   a   p r e s e t 
       t h r e s h o l d   a n d   t a k e   a   s a m p l e   w h e n e v e r   t h e   r a n d o m   n u m b e r   i s   s m a l l e r 
       t h a n   t h e   t h r e s h o l d   v a l u e .     C a l c u l a t i o n   o f   a n   a p p r o p r i a t e   t h r e s h o l d 
       v a l u e   d e p e n d s   o n   t h e   c h a r a c t e r i s t i c s   o f   t h e   r a n d o m   n u m b e r   g e n e r a t o r , 
       h o w e v e r ,   t h e   r e s u l t i n g   s a m p l e   s t r e a m   m u s t   s t i l l   s a t i s f y   ( 1 ) . 
 
 
 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                             [ P a g e   3 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
 2 . 1 . 1   D i s t r i b u t e d   S w i t c h i n g 
 
       T h e   S F L O W   M I B   p e r m i t s   s e p a r a t e   s a m p l i n g   e n t i t i e s   t o   b e   a s s o c i a t e d 
       w i t h   d i f f e r e n t   p h y s i c a l   o r   l o g i c a l   e l e m e n t s   o f   t h e   s w i t c h   ( s u c h   a s 
       i n t e r f a c e s ,   b a c k p l a n e s   o r   V L A N s ) .     E a c h   s a m p l i n g   e n g i n e   h a s   i t s   o w n 
       i n d e p e n d e n t   s t a t e   ( i . e . ,   T o t a l _ P a c k e t s ,   T o t a l _ S a m p l e s ,   S k i p   a n d 
       R a t e ) ,   a n d   f o r w a r d s   i t s   o w n   s a m p l e   m e s s a g e s   t o   t h e   s F l o w   A g e n t .     T h e 
       s F l o w   A g e n t   i s   r e s p o n s i b l e   f o r   p a c k a g i n g   t h e   s a m p l e s   i n t o   d a t a g r a m s 
       f o r   t r a n s m i s s i o n   t o   a n   s F l o w   A n a l y z e r . 
 
 2 . 1 . 2   R a n d o m   N u m b e r   G e n e r a t i o n 
 
       T h e   e s s e n t i a l   p r o p e r t y   o f   t h e   r a n d o m   n u m b e r   g e n e r a t o r   i s   t h a t   t h e 
       m e a n   v a l u e   o f   t h e   n u m b e r s   i t   g e n e r a t e s   c o n v e r g e s   t o   t h e   r e q u i r e d 
       s a m p l i n g   r a t e . 
 
       A   u n i f o r m   d i s t r i b u t i o n   r a n d o m   n u m b e r   g e n e r a t o r   i s   v e r y   e f f e c t i v e . 
       T h e   r a n g e   o f   s k i p   c o u n t s   ( t h e   v a r i a n c e )   d o e s   n o t   s i g n i f i c a n t l y   a f f e c t 
       r e s u l t s ;   v a r i a t i o n   o f   + - 1 0 %   o f   t h e   m e a n   v a l u e   i s   s u f f i c i e n t . 
 
       T h e   r a n d o m   n u m b e r   g e n e r a t o r   m u s t   e n s u r e   t h a t   a l l   n u m b e r s   i n   t h e   r a n g e 
       b e t w e e n   i t s   m a x i m u m   a n d   m i n i m u m   v a l u e s   o f   t h e   d i s t r i b u t i o n   a r e 
       p o s s i b l e ;   a   r a n d o m   n u m b e r   g e n e r a t o r   o n l y   c a p a b l e   o f   g e n e r a t i n g   e v e n 
       n u m b e r s ,   o r   n u m b e r s   w i t h   a n y   c o m m o n   d i v i s o r   i s   u n s u i t a b l e . 
 
       A   n e w   s k i p   v a l u e   i s   o n l y   r e q u i r e d   e v e r y   t i m e   a   s a m p l e   i s   t a k e n . 
 
 2 . 2   S a m p l i n g   o f   N e t w o r k   I n t e r f a c e   S t a t i s t i c s 
 
       T h e   o b j e c t i v e   o f   t h e   c o u n t e r   s a m p l i n g   i s   t o   e f f i c i e n t l y ,   p e r i o d i c a l l y 
       p o l l   e a c h   d a t a   s o u r c e   o n   t h e   d e v i c e   a n d   e x t r a c t   k e y   s t a t i s t i c s . 
 
       F o r   e f f i c i e n c y   a n d   s c a l a b i l i t y   r e a s o n s ,   t h e   s F l o w   S y s t e m   i m p l e m e n t s 
       c o u n t e r   p o l l i n g   i n   t h e   s F l o w   A g e n t .     A   m a x i m u m   p o l l i n g   i n t e r v a l   i s 
       a s s i g n e d   t o   t h e   a g e n t ,   b u t   t h e   a g e n t   i s   f r e e   t o   s c h e d u l e   p o l l i n g   i n 
       o r d e r   m a x i m i z e   i n t e r n a l   e f f i c i e n c y . 
 
       F l o w   s a m p l i n g   a n d   c o u n t e r   s a m p l i n g   a r e   d e s i g n e d   a s   p a r t   o f   a n 
       i n t e g r a t e d   s y s t e m .     B o t h   t y p e s   o f   s a m p l e s   a r e   c o m b i n e d   i n   s F l o w 
       D a t a g r a m s .     S i n c e   f l o w   s a m p l i n g   w i l l   c a u s e   a   s t e a d y ,   b u t   r a n d o m , 
       s t r e a m   o f   d a t a g r a m s   t o   b e   s e n t   t o   t h e   s F l o w   A n a l y z e r ,   c o u n t e r   s a m p l e s 
       m a y   b e   t a k e n   o p p o r t u n i s t i c a l l y   i n   o r d e r   t o   f i l l   t h e s e   d a t a g r a m s . 
 
       O n e   s t r a t e g y   f o r   c o u n t e r   s a m p l i n g   h a s   t h e   s F l o w   A g e n t   k e e p   a   l i s t   o f 
       c o u n t e r   s o u r c e s   b e i n g   s a m p l e d .     W h e n   a   f l o w   s a m p l e   i s   g e n e r a t e d   t h e 
       s F l o w   A g e n t   e x a m i n e s   t h e   l i s t   a n d   a d d s   c o u n t e r s   t o   t h e   s a m p l e 
       d a t a g r a m ,   l e a s t   r e c e n t l y   s a m p l e d   f i r s t .     C o u n t e r s   a r e   o n l y   a d d e d   t o 
       t h e   d a t a g r a m   i f   t h e   s o u r c e s   a r e   w i t h i n   a   s h o r t   p e r i o d ,   5   s e c o n d s   s a y , 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                             [ P a g e   4 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
       o f   f a i l i n g   t o   m e e t   t h e   r e q u i r e d   s a m p l i n g   i n t e r v a l   ( s e e 
       s F l o w C o u n t e r S a m p l i n g I n t e r v a l   i n   S F L O W   M I B ) .     W h e n e v e r   a   c o u n t e r 
       s o u r c e ' s   s t a t i s t i c s   a r e   a d d e d   t o   a   s a m p l e   d a t a g r a m ,   t h e   t i m e   t h e 
       c o u n t e r   s o u r c e   w a s   l a s t   s a m p l e d   i s   u p d a t e d   a n d   t h e   c o u n t e r   s o u r c e   i s 
       p l a c e d   a t   t h e   e n d   o f   t h e   l i s t .     P e r i o d i c a l l y ,   s a y   e v e r y   s e c o n d ,   t h e 
       s F l o w   A g e n t   e x a m i n e s   t h e   l i s t   o f   c o u n t e r   s o u r c e s   a n d   s e n d s   a n y 
       c o u n t e r s   t h a t   n e e d   t o   b e   s e n t   t o   m e e t   t h e   s a m p l i n g   i n t e r v a l 
       r e q u i r e m e n t . 
 
       A l t e r n a t i v e l y ,   i f   t h e   a g e n t   r e g u l a r l y   s c h e d u l e s   c o u n t e r   s a m p l i n g , 
       t h e n   i t   s h o u l d   s c h e d u l e   e a c h   c o u n t e r   s o u r c e   a t   a   d i f f e r e n t   s t a r t   t i m e 
       ( p r e f e r a b l y   r a n d o m l y )   s o   t h a t   c o u n t e r   s a m p l i n g   i s   n o t   s y n c h r o n i z e d 
       w i t h i n   a n   a g e n t   o r   b e t w e e n   a g e n t s . 
 
 3 .   s F l o w   M I B 
 
       T h e   s F l o w   M I B   d e f i n e s   a   c o n t r o l   i n t e r f a c e   f o r   a n   s F l o w   A g e n t .     T h i s 
       i n t e r f a c e   p r o v i d e s   a   s t a n d a r d   m e c h a n i s m   f o r   r e m o t e l y   c o n t r o l l i n g   a n d 
       c o n f i g u r i n g   a n   s F l o w   A g e n t . 
 
 3 . 1   T h e   S N M P   M a n a g e m e n t   F r a m e w o r k 
 
       T h e   S N M P   M a n a g e m e n t   F r a m e w o r k   p r e s e n t l y   c o n s i s t s   o f   f i v e   m a j o r 
       c o m p o n e n t s : 
 
       o     A n   o v e r a l l   a r c h i t e c t u r e ,   d e s c r i b e d   i n   R F C   2 5 7 1   [ 2 ] . 
 
       o     M e c h a n i s m s   f o r   d e s c r i b i n g   a n d   n a m i n g   o b j e c t s   a n d   e v e n t s   f o r   t h e 
             p u r p o s e   o f   m a n a g e m e n t .     T h e   f i r s t   v e r s i o n   o f   t h i s   S t r u c t u r e   o f 
             M a n a g e m e n t   I n f o r m a t i o n   ( S M I )   i s   c a l l e d   S M I v 1   a n d   d e s c r i b e d   i n   S T D 
             1 6 , 
 
             R F C   1 1 5 5   [ 3 ] ,   S T D   1 6 ,   R F C   1 2 1 2   [ 4 ]   a n d   R F C   1 2 1 5   [ 5 ] .     T h e   s e c o n d 
             v e r s i o n ,   c a l l e d   S M I v 2 ,   i s   d e s c r i b e d   i n   S T D   5 8 ,   R F C   2 5 7 8   [ 6 ] ,   S T D 
             5 8 ,   R F C   2 5 7 9   [ 7 ]   a n d   S T D   5 8 ,   R F C   2 5 8 0   [ 8 ] . 
 
       o     M e s s a g e   p r o t o c o l s   f o r   t r a n s f e r r i n g   m a n a g e m e n t   i n f o r m a t i o n .     T h e 
             f i r s t   v e r s i o n   o f   t h e   S N M P   m e s s a g e   p r o t o c o l   i s   c a l l e d   S N M P v 1   a n d 
             d e s c r i b e d   i n   S T D   1 5 ,   R F C   1 1 5 7   [ 9 ] .     A   s e c o n d   v e r s i o n   o f   t h e   S N M P 
             m e s s a g e   p r o t o c o l ,   w h i c h   i s   n o t   a n   I n t e r n e t   s t a n d a r d s   t r a c k 
             p r o t o c o l ,   i s   c a l l e d   S N M P v 2 c   a n d   d e s c r i b e d   i n   R F C   1 9 0 1   [ 1 0 ]   a n d   R F C 
             1 9 0 6   [ 1 1 ] .     T h e   t h i r d   v e r s i o n   o f   t h e   m e s s a g e   p r o t o c o l   i s   c a l l e d 
             S N M P v 3   a n d   d e s c r i b e d   i n   R F C   1 9 0 6   [ 1 1 ] ,   R F C   2 5 7 2   [ 1 2 ]   a n d   R F C   2 5 7 4 
             [ 1 3 ] . 
 
 
 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                             [ P a g e   5 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
       o     P r o t o c o l   o p e r a t i o n s   f o r   a c c e s s i n g   m a n a g e m e n t   i n f o r m a t i o n .     T h e 
             f i r s t   s e t   o f   p r o t o c o l   o p e r a t i o n s   a n d   a s s o c i a t e d   P D U   f o r m a t s   i s 
             d e s c r i b e d   i n   S T D   1 5 ,   R F C   1 1 5 7   [ 9 ] .     A   s e c o n d   s e t   o f   p r o t o c o l 
             o p e r a t i o n s   a n d   a s s o c i a t e d   P D U   f o r m a t s   i s   d e s c r i b e d   i n   R F C   1 9 0 5 
             [ 1 4 ] . 
 
       o     A   s e t   o f   f u n d a m e n t a l   a p p l i c a t i o n s   d e s c r i b e d   i n   R F C   2 5 7 3   [ 1 5 ]   a n d 
             t h e   v i e w - b a s e d   a c c e s s   c o n t r o l   m e c h a n i s m   d e s c r i b e d   i n   R F C   2 5 7 5 
             [ 1 6 ] . 
 
       A   m o r e   d e t a i l e d   i n t r o d u c t i o n   t o   t h e   c u r r e n t   S N M P   M a n a g e m e n t   F r a m e w o r k 
       c a n   b e   f o u n d   i n   R F C   2 5 7 0   [ 1 7 ] . 
 
       M a n a g e d   o b j e c t s   a r e   a c c e s s e d   v i a   a   v i r t u a l   i n f o r m a t i o n   s t o r e ,   t e r m e d 
       t h e   M a n a g e m e n t   I n f o r m a t i o n   B a s e   o r   M I B .     O b j e c t s   i n   t h e   M I B   a r e 
       d e f i n e d   u s i n g   t h e   m e c h a n i s m s   d e f i n e d   i n   t h e   S M I . 
 
       T h i s   m e m o   s p e c i f i e s   a   M I B   m o d u l e   t h a t   i s   c o m p l i a n t   t o   t h e   S M I v 2 .     A 
       M I B   c o n f o r m i n g   t o   t h e   S M I v 1   c a n   b e   p r o d u c e d   t h r o u g h   t h e   a p p r o p r i a t e 
       t r a n s l a t i o n s .     T h e   r e s u l t i n g   t r a n s l a t e d   M I B   m u s t   b e   s e m a n t i c a l l y 
       e q u i v a l e n t ,   e x c e p t   w h e r e   o b j e c t s   o r   e v e n t s   a r e   o m i t t e d   b e c a u s e   n o 
       t r a n s l a t i o n   i s   p o s s i b l e   ( u s e   o f   C o u n t e r 6 4 ) .     S o m e   m a c h i n e   r e a d a b l e 
       i n f o r m a t i o n   i n   S M I v 2   w i l l   b e   c o n v e r t e d   i n t o   t e x t u a l   d e s c r i p t i o n s   i n 
       S M I v 1   d u r i n g   t h e   t r a n s l a t i o n   p r o c e s s .     H o w e v e r ,   t h i s   l o s s   o f   m a c h i n e 
       r e a d a b l e   i n f o r m a t i o n   i s   n o t   c o n s i d e r e d   t o   c h a n g e   t h e   s e m a n t i c s   o f   t h e 
       M I B . 
 
 3 . 2   D e f i n i t i o n s 
 
 S F L O W - M I B   D E F I N I T I O N S   : : =   B E G I N 
 
 I M P O R T S 
 
 M O D U L E - I D E N T I T Y ,   O B J E C T - T Y P E ,   I n t e g e r 3 2 ,   e n t e r p r i s e s 
                 F R O M   S N M P v 2 - S M I 
 S n m p A d m i n S t r i n g 
                 F R O M   S N M P - F R A M E W O R K - M I B 
 O w n e r S t r i n g 
                 F R O M   R M O N - M I B 
 I n e t A d d r e s s T y p e ,   I n e t A d d r e s s 
                 F R O M   I N E T - A D D R E S S - M I B 
 M O D U L E - C O M P L I A N C E ,   O B J E C T - G R O U P 
                 F R O M   S N M P v 2 - C O N F ; 
 
 s F l o w M I B     M O D U L E - I D E N T I T Y 
     L A S T - U P D A T E D   " 2 0 0 1 0 5 1 5 0 0 0 0 Z "       - -   M a y   1 5 ,   2 0 0 1 
     O R G A N I Z A T I O N   " I n M o n   C o r p . " 
     C O N T A C T - I N F O 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                             [ P a g e   6 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
                   " P e t e r   P h a a l 
                     I n M o n   C o r p . 
                     h t t p : / / w w w . i n m o n . c o m / 
 
                     T e l :     + 1 - 4 1 5 - 6 6 1 - 6 3 4 3 
                     E m a i l :   p e t e r _ p h a a l @ i n m o n . c o m " 
     D E S C R I P T I O N 
                     " T h e   M I B   m o d u l e   f o r   m a n a g i n g   t h e   g e n e r a t i o n   a n d   t r a n s p o r t a t i o n 
                       o f   s F l o w   d a t a   r e c o r d s . " 
 
     - - 
     - -   R e v i s i o n   H i s t o r y 
     - - 
     R E V I S I O N         " 2 0 0 1 0 5 1 5 0 0 0 0 Z "           - -   M a y   1 5 ,   2 0 0 1 
     D E S C R I P T I O N 
                     " V e r s i o n   1 . 2 
 
                       B r i n g s   M I B   i n t o   S M I   v 2   c o m p l i a n c e . " 
 
     R E V I S I O N         " 2 0 0 1 0 5 0 1 0 0 0 0 Z "             - -   M a y   1 ,   2 0 0 1 
     D E S C R I P T I O N 
                       " V e r s i o n   1 . 1 
 
                         A d d s   s F l o w D a t a g r a m V e r s i o n . " 
     : : =   {   e n t e r p r i s e s   4 3 0 0   1   } 
 
 s F l o w A g e n t   O B J E C T   I D E N T I F I E R   : : =   {   s F l o w M I B   1   } 
 
 s F l o w V e r s i o n   O B J E C T - T Y P E 
           S Y N T A X             S n m p A d m i n S t r i n g 
           M A X - A C C E S S     r e a d - o n l y 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " U n i q u e l y   i d e n t i f i e s   t h e   v e r s i o n   a n d   i m p l e m e n t a t i o n   o f   t h i s   M I B . 
                 T h e   v e r s i o n   s t r i n g   m u s t   h a v e   t h e   f o l l o w i n g   s t r u c t u r e : 
                       < M I B   V e r s i o n > ; < O r g a n i z a t i o n > ; < S o f t w a r e   R e v i s i o n > 
                 w h e r e : 
                       < M I B   V e r s i o n >     m u s t   b e   ' 1 . 2 ' ,   t h e   v e r s i o n   o f   t h i s   M I B . 
                       < O r g a n i z a t i o n >   t h e   n a m e   o f   t h e   o r g a n i z a t i o n   r e s p o n s i b l e 
                                                         f o r   t h e   a g e n t   i m p l e m e n t a t i o n . 
                       < R e v i s i o n >           t h e   s p e c i f i c   s o f t w a r e   b u i l d   o f   t h i s   a g e n t . 
 
                 A s   a n   e x a m p l e ,   t h e   s t r i n g   ' 1 . 2 ; I n M o n   C o r p . ; 2 . 1 . 1 '   i n d i c a t e s 
                 t h a t   t h i s   a g e n t   i m p l e m e n t s   v e r s i o n   ' 1 . 2 '   o f   t h e   S F L O W   M I B ,   t h a t 
                 i t   w a s   d e v e l o p e d   b y   ' I n M o n   C o r p . '   a n d   t h a t   t h e   s o f t w a r e   b u i l d 
                 i s   ' 2 . 1 . 1 ' . 
 
                 T h e   M I B   V e r s i o n   w i l l   c h a n g e   w i t h   e a c h   r e v i s i o n   o f   t h e   S F L O W 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                             [ P a g e   7 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
                 M I B . 
 
                 M a n a g e m e n t   e n t i t i e s   m u s t   c h e c k   t h e   M I B   V e r s i o n   a n d   n o t   a t t e m p t 
                 t o   m a n a g e   a g e n t s   w i t h   M I B   V e r s i o n s   g r e a t e r   t h a n   t h a t   f o r   w h i c h 
                 t h e y   w e r e   d e s i g n e d . 
 
                 N o t e :   T h e   s F l o w   D a t a g r a m   F o r m a t   h a s   a n   i n d e p e n d e n t   v e r s i o n 
                             n u m b e r   w h i c h   m a y   c h a n g e   i n d e p e n d e n t l y   f r o m   < M I B   V e r s i o n > . 
                             < M I B   V e r s i o n >   a p p l i e s   t o   t h e   s t r u c t u r e   a n d   s e m a n t i c s   o f 
                             t h e   S F L O W   M I B   o n l y . " 
           D E F V A L   {   " 1 . 2 ; ; "   } 
           : : =   {   s F l o w A g e n t   1   } 
 
 s F l o w A g e n t A d d r e s s T y p e   O B J E C T - T Y P E 
           S Y N T A X             I n e t A d d r e s s T y p e 
           M A X - A C C E S S     r e a d - o n l y 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   a d d r e s s   t y p e   o f   t h e   a d d r e s s   a s s o c i a t e d   w i t h   t h i s   a g e n t . 
                 O n l y   i p v 4   a n d   i p v 6   t y p e s   a r e   s u p p o r t e d . " 
           : : =   {   s F l o w A g e n t   2   } 
 
 s F l o w A g e n t A d d r e s s   O B J E C T - T Y P E 
           S Y N T A X             I n e t A d d r e s s 
           M A X - A C C E S S     r e a d - o n l y 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   I P   a d d r e s s   a s s o c i a t e d   w i t h   t h i s   a g e n t .     I n   t h e   c a s e   o f   a 
                 m u l t i - h o m e d   a g e n t ,   t h i s   s h o u l d   b e   t h e   l o o p b a c k   a d d r e s s   o f   t h e 
                 a g e n t .     T h e   s F l o w A g e n t   a d d r e s s   m u s t   p r o v i d e   S N M P   c o n n e c t i v i t y 
                 t o   t h e   a g e n t .     T h e   a d d r e s s   s h o u l d   b e   a n   i n v a r i a n t   t h a t   d o e s   n o t 
                 c h a n g e   a s   i n t e r f a c e s   a r e   r e c o n f i g u r e d ,   e n a b l e d ,   d i s a b l e d , 
                 a d d e d   o r   r e m o v e d .     A   m a n a g e r   s h o u l d   b e   a b l e   t o   u s e   t h e 
                 s F l o w A g e n t A d d r e s s   a s   a   u n i q u e   k e y   t h a t   w i l l   i d e n t i f y   t h i s 
                 a g e n t   o v e r   e x t e n d e d   p e r i o d s   o f   t i m e   s o   t h a t   a   h i s t o r y   c a n 
                 b e   m a i n t a i n e d . " 
         : : =   {   s F l o w A g e n t   3   } 
 
 s F l o w T a b l e   O B J E C T - T Y P E 
           S Y N T A X             S E Q U E N C E   O F   S F l o w E n t r y 
           M A X - A C C E S S     n o t - a c c e s s i b l e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " A   t a b l e   o f   t h e   s F l o w   s a m p l e r s   w i t h i n   a   d e v i c e . " 
           : : =   {   s F l o w A g e n t   4   } 
 
 s F l o w E n t r y   O B J E C T - T Y P E 
           S Y N T A X             S F l o w E n t r y 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                             [ P a g e   8 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
           M A X - A C C E S S     n o t - a c c e s s i b l e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " A t t r i b u t e s   o f   a n   s F l o w   s a m p l e r . " 
           I N D E X   {   s F l o w D a t a S o u r c e   } 
           : : =   {   s F l o w T a b l e   1   } 
 
 S F l o w E n t r y   : : =   S E Q U E N C E   { 
           s F l o w D a t a S o u r c e                               O B J E C T   I D E N T I F I E R , 
           s F l o w O w n e r                                         O w n e r S t r i n g , 
           s F l o w T i m e o u t                                     I n t e g e r 3 2 , 
           s F l o w P a c k e t S a m p l i n g R a t e               I n t e g e r 3 2 , 
           s F l o w C o u n t e r S a m p l i n g I n t e r v a l     I n t e g e r 3 2 , 
           s F l o w M a x i m u m H e a d e r S i z e                 I n t e g e r 3 2 , 
           s F l o w M a x i m u m D a t a g r a m S i z e             I n t e g e r 3 2 , 
           s F l o w C o l l e c t o r A d d r e s s T y p e           I n e t A d d r e s s T y p e , 
           s F l o w C o l l e c t o r A d d r e s s                   I n e t A d d r e s s , 
           s F l o w C o l l e c t o r P o r t                         I n t e g e r 3 2 , 
           s F l o w D a t a g r a m V e r s i o n                     I n t e g e r 3 2 
 } 
 
 s F l o w D a t a S o u r c e   O B J E C T - T Y P E 
           S Y N T A X             O B J E C T   I D E N T I F I E R 
           M A X - A C C E S S     r e a d - o n l y 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " I d e n t i f i e s   t h e   s o u r c e   o f   t h e   d a t a   f o r   t h e   s F l o w   s a m p l e r . 
               T h e   f o l l o w i n g   d a t a   s o u r c e   t y p e s   a r e   c u r r e n t l y   d e f i n e d : 
 
               -   i f I n d e x . < I > 
               D a t a S o u r c e s   o f   t h i s   t r a d i t i o n a l   f o r m   a r e   c a l l e d   ' p o r t - b a s e d ' . 
               I d e a l l y   t h e   s a m p l i n g   e n t i t y   w i l l   p e r f o r m   s a m p l i n g   o n   a l l   f l o w s 
               o r i g i n a t i n g   f r o m   o r   d e s t i n e d   t o   t h e   s p e c i f i e d   i n t e r f a c e . 
               H o w e v e r ,   i f   t h e   s w i t c h   a r c h i t e c t u r e   o n l y   p e r m i t s   i n p u t   o r 
               o u t p u t   s a m p l i n g   t h e n   t h e   s a m p l i n g   a g e n t   i s   p e r m i t t e d   t o   o n l y 
               s a m p l e   i n p u t   f l o w s   i n p u t   o r   o u t p u t   f l o w s .     E a c h   p a c k e t   m u s t 
               o n l y   b e   c o n s i d e r e d   o n c e   f o r   s a m p l i n g ,   i r r e s p e c t i v e   o f   t h e 
               n u m b e r   o f   p o r t s   i t   w i l l   b e   f o r w a r d e d   t o . 
 
               N o t e :   P o r t   0   i s   u s e d   t o   i n d i c a t e   t h a t   a l l   p o r t s   o n   t h e   d e v i c e 
                           a r e   r e p r e s e n t e d   b y   a   s i n g l e   d a t a   s o u r c e . 
                           -   s F l o w P a c k e t S a m p l i n g R a t e   a p p l i e s   t o   a l l   p o r t s   o n   t h e 
                               d e v i c e   c a p a b l e   o f   p a c k e t   s a m p l i n g . 
                           -   s F l o w C o u n t e r S a m p l i n g I n t e r v a l   a p p l i e s   t o   a l l   p o r t s . 
 
               -   s m o n V l a n D a t a S o u r c e . < V > 
               A   d a t a S o u r c e   o f   t h i s   f o r m   r e f e r s   t o   a   ' P a c k e t - b a s e d   V L A N ' 
               a n d   i s   c a l l e d   a   ' V L A N - b a s e d '   d a t a S o u r c e .     < V >   i s   t h e   V L A N 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                             [ P a g e   9 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
               I D   a s   d e f i n e d   b y   t h e   I E E E   8 0 2 . 1 Q   s t a n d a r d .     T h e 
               v a l u e   i s   b e t w e e n   1   a n d   4 0 9 4   i n c l u s i v e ,   a n d   i t   r e p r e s e n t s 
               a n   8 0 2 . 1 Q   V L A N - I D   w i t h   g l o b a l   s c o p e   w i t h i n   a   g i v e n 
               b r i d g e d   d o m a i n . 
               S a m p l i n g   i s   p e r f o r m e d   o n   a l l   p a c k e t s   r e c e i v e d   t h a t   a r e   p a r t 
               o f   t h e   s p e c i f i e d   V L A N   ( n o   m a t t e r   w h i c h   p o r t   t h e y   a r r i v e d   o n ) . 
               E a c h   p a c k e t   w i l l   o n l y   b e   c o n s i d e r e d   o n c e   f o r   s a m p l i n g , 
               i r r e s p e c t i v e   o f   t h e   n u m b e r   o f   p o r t s   i t   w i l l   b e   f o r w a r d e d   t o . 
 
               -   e n t P h y s i c a l E n t r y . < N > 
               A   d a t a S o u r c e   o f   t h i s   f o r m   r e f e r s   t o   a   p h y s i c a l   e n t i t y   w i t h i n 
               t h e   a g e n t   ( e . g . ,   e n t P h y s i c a l C l a s s   =   b a c k p l a n e ( 4 ) )   a n d   i s   c a l l e d 
               a n   ' e n t i t y - b a s e d '   d a t a S o u r c e . 
               S a m p l i n g   i s   p e r f o r m e d   o n   a l l   p a c k e t s   e n t e r i n g   t h e   r e s o u r c e   ( e . g . 
               I f   t h e   b a c k p l a n e   i s   b e i n g   s a m p l e d ,   a l l   p a c k e t s   t r a n s m i t t e d   o n t o 
               t h e   b a c k p l a n e   w i l l   b e   c o n s i d e r e d   a s   s i n g l e   c a n d i d a t e s   f o r 
               s a m p l i n g   i r r e s p e c t i v e   o f   t h e   n u m b e r   o f   p o r t s   t h e y   u l t i m a t e l y 
               r e a c h ) . 
 
               N o t e :   S i n c e   e a c h   D a t a S o u r c e   o p e r a t e s   i n d e p e n d e n t l y ,   a   p a c k e t 
                           t h a t   c r o s s e s   m u l t i p l e   D a t a S o u r c e s   m a y   g e n e r a t e   m u l t i p l e 
                           f l o w   r e c o r d s . " 
           : : =   {   s F l o w E n t r y   1   } 
 
 s F l o w O w n e r   O B J E C T - T Y P E 
           S Y N T A X             O w n e r S t r i n g 
           M A X - A C C E S S     r e a d - w r i t e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   e n t i t y   m a k i n g   u s e   o f   t h i s   s F l o w   s a m p l e r .     T h e   e m p t y   s t r i n g 
                 i n d i c a t e s   t h a t   t h e   s F l o w   s a m p l e r   i s   c u r r e n t l y   u n c l a i m e d . 
                 A n   e n t i t y   w i s h i n g   t o   c l a i m   a n   s F l o w   s a m p l e r   m u s t   m a k e   s u r e 
                 t h a t   t h e   s a m p l e r   i s   u n c l a i m e d   b e f o r e   t r y i n g   t o   c l a i m   i t . 
                 T h e   s a m p l e r   i s   c l a i m e d   b y   s e t t i n g   t h e   o w n e r   s t r i n g   t o   i d e n t i f y 
                 t h e   e n t i t y   c l a i m i n g   t h e   s a m p l e r .     T h e   s a m p l e r   m u s t   b e   c l a i m e d 
                 b e f o r e   a n y   c h a n g e s   c a n   b e   m a d e   t o   o t h e r   s a m p l e r   o b j e c t s . 
 
                 I n   o r d e r   t o   a v o i d   a   r a c e   c o n d i t i o n ,   t h e   e n t i t y   t a k i n g   c o n t r o l 
                 o f   t h e   s a m p l e r   m u s t   s e t   b o t h   t h e   o w n e r   a n d   a   v a l u e   f o r 
                 s F l o w T i m e o u t   i n   t h e   s a m e   S N M P   s e t   r e q u e s t . 
 
                 W h e n   a   m a n a g e m e n t   e n t i t y   i s   f i n i s h e d   u s i n g   t h e   s a m p l e r , 
                 i t   s h o u l d   s e t   i t s   v a l u e   b a c k   t o   u n c l a i m e d .     T h e   a g e n t 
                 m u s t   r e s t o r e   a l l   o t h e r   e n t i t i e s   t h i s   r o w   t o   t h e i r 
                 d e f a u l t   v a l u e s   w h e n   t h e   o w n e r   i s   s e t   t o   u n c l a i m e d . 
 
                 T h i s   m e c h a n i s m   p r o v i d e s   n o   e n f o r c e m e n t   a n d   r e l i e s   o n   t h e 
                 c o o p e r a t i o n   o f   m a n a g e m e n t   e n t i t i e s   i n   o r d e r   t o   e n s u r e   t h a t 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   1 0 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
                 c o m p e t i t i o n   f o r   a   s a m p l e r   i s   f a i r l y   r e s o l v e d . " 
           D E F V A L   {   " "   } 
           : : =   {   s F l o w E n t r y   2   } 
 
 s F l o w T i m e o u t   O B J E C T - T Y P E 
           S Y N T A X             I n t e g e r 3 2 
           M A X - A C C E S S     r e a d - w r i t e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   t i m e   ( i n   s e c o n d s )   r e m a i n i n g   b e f o r e   t h e   s a m p l e r   i s   r e l e a s e d 
                 a n d   s t o p s   s a m p l i n g .     W h e n   s e t ,   t h e   o w n e r   e s t a b l i s h e s   c o n t r o l 
                 f o r   t h e   s p e c i f i e d   p e r i o d .     W h e n   r e a d ,   t h e   r e m a i n i n g   t i m e   i n   t h e 
                 i n t e r v a l   i s   r e t u r n e d . 
 
                 A   m a n a g e m e n t   e n t i t y   w a n t i n g   t o   m a i n t a i n   c o n t r o l   o f   t h e   s a m p l e r 
                 i s   r e s p o n s i b l e   f o r   s e t t i n g   a   n e w   v a l u e   b e f o r e   t h e   o l d   o n e 
                 e x p i r e s . 
 
                 W h e n   t h e   i n t e r v a l   e x p i r e s ,   t h e   a g e n t   i s   r e s p o n s i b l e   f o r 
                 r e s t o r i n g   a l l   o t h e r   e n t i t i e s   i n   t h i s   r o w   t o   t h e i r   d e f a u l t 
                 v a l u e s . " 
           D E F V A L   {   0   } 
           : : =   {   s F l o w E n t r y   3   } 
 
 s F l o w P a c k e t S a m p l i n g R a t e   O B J E C T - T Y P E 
           S Y N T A X             I n t e g e r 3 2 
           M A X - A C C E S S     r e a d - w r i t e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   s t a t i s t i c a l   s a m p l i n g   r a t e   f o r   p a c k e t   s a m p l i n g   f r o m   t h i s 
                 s o u r c e . 
 
                 S e t   t o   N   t o   s a m p l e   1 / N t h   o f   t h e   p a c k e t s   i n   t h e   m o n i t o r e d   f l o w s . 
                 A n   a g e n t   s h o u l d   c h o o s e   i t s   o w n   a l g o r i t h m   i n t r o d u c e   v a r i a n c e 
                 i n t o   t h e   s a m p l i n g   s o   t h a t   e x a c t l y   e v e r y   N t h   p a c k e t   i s   n o t 
                 c o u n t e d .     A   s a m p l i n g   r a t e   o f   1   c o u n t s   a l l   p a c k e t s .     A   s a m p l i n g 
                 r a t e   o f   0   d i s a b l e s   s a m p l i n g . 
 
                 T h e   a g e n t   i s   p e r m i t t e d   t o   h a v e   m i n i m u m   a n d   m a x i m u m   a l l o w a b l e 
                 v a l u e s   f o r   t h e   s a m p l i n g   r a t e .     A   m i n i m u m   r a t e   l e t s   t h e   a g e n t 
                 d e s i g n e r   s e t   a n   u p p e r   b o u n d   o n   t h e   o v e r h e a d   a s s o c i a t e d   w i t h 
                 s a m p l i n g ,   a n d   a   m a x i m u m   r a t e   m a y   b e   t h e   r e s u l t   o f   h a r d w a r e 
                 r e s t r i c t i o n s   ( s u c h   a s   c o u n t e r   s i z e ) .     I n   a d d i t i o n   n o t   a l l   v a l u e s 
                 b e t w e e n   t h e   m a x i m u m   a n d   m i n i m u m   m a y   b e   r e a l i z a b l e   a s   t h e 
                 s a m p l i n g   r a t e   ( a g a i n   b e c a u s e   o f   i m p l e m e n t a t i o n   c o n s i d e r a t i o n s ) . 
 
                 W h e n   t h e   s a m p l i n g   r a t e   i s   s e t   t h e   a g e n t   i s   f r e e   t o   a d j u s t   t h e 
                 v a l u e   s o   t h a t   i t   l i e s   b e t w e e n   t h e   m a x i m u m   a n d   m i n i m u m   v a l u e s 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   1 1 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
                 a n d   h a s   t h e   c l o s e s t   a c h i e v a b l e   v a l u e . 
 
                 W h e n   r e a d ,   t h e   a g e n t   m u s t   r e t u r n   t h e   a c t u a l   s a m p l i n g   r a t e   i t 
                 w i l l   b e   u s i n g   ( a f t e r   t h e   a d j u s t m e n t s   p r e v i o u s l y   d e s c r i b e d ) .     T h e 
                 s a m p l i n g   a l g o r i t h m   m u s t   c o n v e r g e   s o   t h a t   o v e r   t i m e   t h e   n u m b e r 
                 o f   p a c k e t s   s a m p l e d   a p p r o a c h e s   1 / N t h   o f   t h e   t o t a l   n u m b e r   o f 
                 p a c k e t s   i n   t h e   m o n i t o r e d   f l o w s . " 
           D E F V A L   {   0   } 
           : : =   {   s F l o w E n t r y   4   } 
 
 s F l o w C o u n t e r S a m p l i n g I n t e r v a l   O B J E C T - T Y P E 
     S Y N T A X             I n t e g e r 3 2 
           M A X - A C C E S S     r e a d - w r i t e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   m a x i m u m   n u m b e r   o f   s e c o n d s   b e t w e e n   s u c c e s s i v e   s a m p l e s   o f   t h e 
                 c o u n t e r s   a s s o c i a t e d   w i t h   t h i s   d a t a   s o u r c e .     A   s a m p l i n g   i n t e r v a l 
                 o f   0   d i s a b l e s   c o u n t e r   s a m p l i n g . " 
           D E F V A L   {   0   } 
           : : =   {   s F l o w E n t r y   5   } 
 
 s F l o w M a x i m u m H e a d e r S i z e   O B J E C T - T Y P E 
           S Y N T A X             I n t e g e r 3 2 
           M A X - A C C E S S     r e a d - w r i t e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   m a x i m u m   n u m b e r   o f   b y t e s   t h a t   s h o u l d   b e   c o p i e d   f r o m   a 
                 s a m p l e d   p a c k e t .     T h e   a g e n t   m a y   h a v e   a n   i n t e r n a l   m a x i m u m   a n d 
                 m i n i m u m   p e r m i s s i b l e   s i z e s .     I f   a n   a t t e m p t   i s   m a d e   t o   s e t   t h i s 
                 v a l u e   o u t s i d e   t h e   p e r m i s s i b l e   r a n g e   t h e n   t h e   a g e n t   s h o u l d 
                 a d j u s t   t h e   v a l u e   t o   t h e   c l o s e s t   p e r m i s s i b l e   v a l u e . " 
           D E F V A L   {   1 2 8   } 
           : : =   {   s F l o w E n t r y   6   } 
 
 s F l o w M a x i m u m D a t a g r a m S i z e   O B J E C T - T Y P E 
           S Y N T A X             I n t e g e r 3 2 
           M A X - A C C E S S     r e a d - w r i t e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
                 " T h e   m a x i m u m   n u m b e r   o f   d a t a   b y t e s   t h a t   c a n   b e   s e n t   i n   a   s i n g l e 
                   s a m p l e   d a t a g r a m .     T h e   m a n a g e r   s h o u l d   s e t   t h i s   v a l u e   t o   a v o i d 
                   f r a g m e n t a t i o n   o f   t h e   s F l o w   d a t a g r a m s . " 
           D E F V A L   {   1 4 0 0   } 
           : : =   {   s F l o w E n t r y   7   } 
 
 s F l o w C o l l e c t o r A d d r e s s T y p e   O B J E C T - T Y P E 
           S Y N T A X             I n e t A d d r e s s T y p e 
           M A X - A C C E S S     r e a d - w r i t e 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   1 2 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   t y p e   o f   s F l o w C o l l e c t o r A d d r e s s . " 
           D E F V A L   {   i p v 4   } 
           : : =   {   s F l o w E n t r y   8   } 
 
 s F l o w C o l l e c t o r A d d r e s s   O B J E C T - T Y P E 
           S Y N T A X             I n e t A d d r e s s 
           M A X - A C C E S S     r e a d - w r i t e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   I P   a d d r e s s   o f   t h e   s F l o w   c o l l e c t o r . 
                 I f   s e t   t o   0 . 0 . 0 . 0   a l l   s a m p l i n g   i s   d i s a b l e d . " 
           D E F V A L   {   " 0 . 0 . 0 . 0 "   } 
           : : =   {   s F l o w E n t r y   9   } 
 
 s F l o w C o l l e c t o r P o r t   O B J E C T - T Y P E 
           S Y N T A X             I n t e g e r 3 2 
           M A X - A C C E S S     r e a d - w r i t e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   d e s t i n a t i o n   p o r t   f o r   s F l o w   d a t a g r a m s . " 
           D E F V A L   {   6 3 4 3   } 
           : : =   {   s F l o w E n t r y   1 0   } 
 
 s F l o w D a t a g r a m V e r s i o n   O B J E C T - T Y P E 
           S Y N T A X             I n t e g e r 3 2 
           M A X - A C C E S S     r e a d - w r i t e 
           S T A T U S             c u r r e n t 
           D E S C R I P T I O N 
               " T h e   v e r s i o n   o f   s F l o w   d a t a g r a m s   t h a t   s h o u l d   b e   s e n t . 
 
                 W h e n   s e t   t o   a   v a l u e   n o t   s u p p o r t   b y   t h e   a g e n t ,   t h e   a g e n t   s h o u l d 
                 a d j u s t   t h e   v a l u e   t o   t h e   h i g h e s t   s u p p o r t e d   v a l u e   l e s s   t h a n   t h e 
                 r e q u e s t e d   v a l u e ,   o r   r e t u r n   a n   e r r o r   i f   n o   s u c h   v a l u e s   e x i s t . " 
           D E F V A L   {   4   } 
           : : =   {   s F l o w E n t r y   1 1   } 
 
   - - 
   - -   C o m p l i a n c e   S t a t e m e n t s 
   - - 
 
 s F l o w M I B C o n f o r m a n c e   O B J E C T   I D E N T I F I E R   : : =   {   s F l o w M I B   2   } 
 s F l o w M I B G r o u p s             O B J E C T   I D E N T I F I E R   : : =   {   s F l o w M I B C o n f o r m a n c e   1   } 
 s F l o w M I B C o m p l i a n c e s   O B J E C T   I D E N T I F I E R   : : =   {   s F l o w M I B C o n f o r m a n c e   2   } 
 
 s F l o w C o m p l i a n c e   M O D U L E - C O M P L I A N C E 
           S T A T U S             c u r r e n t 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   1 3 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
           D E S C R I P T I O N 
               " C o m p l i a n c e   s t a t e m e n t s   f o r   t h e   s F l o w   A g e n t . " 
 
           M O D U L E   - -   t h i s   m o d u l e 
                   M A N D A T O R Y - G R O U P S   {   s F l o w A g e n t G r o u p   } 
                   O B J E C T           s F l o w A g e n t A d d r e s s T y p e 
                   S Y N T A X           I n e t A d d r e s s T y p e   {   i p v 4 ( 1 )   } 
                   D E S C R I P T I O N 
                       " A g e n t s   n e e d   o n l y   s u p p o r t   i p v 4 . " 
 
                   O B J E C T   s F l o w C o l l e c t o r A d d r e s s T y p e 
                   S Y N T A X   I n e t A d d r e s s T y p e   {   i p v 4 ( 1 )   } 
                   D E S C R I P T I O N 
                       " A g e n t s   n e e d   o n l y   s u p p o r t   i p v 4 . " 
 
           : : =   {   s F l o w M I B C o m p l i a n c e s   1   } 
 
 s F l o w A g e n t G r o u p   O B J E C T - G R O U P 
           O B J E C T S   {   s F l o w V e r s i o n ,   s F l o w A g e n t A d d r e s s T y p e ,   s F l o w A g e n t A d d r e s s , 
                               s F l o w D a t a S o u r c e ,   s F l o w O w n e r ,   s F l o w T i m e o u t , 
                               s F l o w P a c k e t S a m p l i n g R a t e ,   s F l o w C o u n t e r S a m p l i n g I n t e r v a l , 
                               s F l o w M a x i m u m H e a d e r S i z e ,   s F l o w M a x i m u m D a t a g r a m S i z e , 
                               s F l o w C o l l e c t o r A d d r e s s T y p e ,   s F l o w C o l l e c t o r A d d r e s s , 
                               s F l o w C o l l e c t o r P o r t ,   s F l o w D a t a g r a m V e r s i o n   } 
             S T A T U S   c u r r e n t 
             D E S C R I P T I O N 
                 " A   c o l l e c t i o n   o f   o b j e c t s   f o r   m a n a g i n g   t h e   g e n e r a t i o n   a n d 
                   t r a n s p o r t a t i o n   o f   s F l o w   d a t a   r e c o r d s . " 
               : : =   {   s F l o w M I B G r o u p s   1   } 
 
 E N D 
 
       T h e   s F l o w   M I B   r e f e r e n c e s   d e f i n i t i o n s   f r o m   a   n u m b e r   o f   e x i s t i n g   R F C s 
       [ 1 8 ] ,   [ 1 9 ] ,   [ 2 0 ]   a n d   [ 2 1 ] . 
 
 4 .   s F l o w   D a t a g r a m   F o r m a t 
 
       T h e   s F l o w   d a t a g r a m   f o r m a t   s p e c i f i e s   a   s t a n d a r d   f o r m a t   f o r   t h e   s F l o w 
       A g e n t   t o   s e n d   s a m p l e d   d a t a   t o   a   r e m o t e   d a t a   c o l l e c t o r . 
 
       T h e   f o r m a t   o f   t h e   s F l o w   d a t a g r a m   i s   s p e c i f i e d   u s i n g   t h e   X D R   s t a n d a r d 
       [ 1 ] .     X D R   i s   m o r e   c o m p a c t   t h a n   A S N . 1   a n d   s i m p l e r   f o r   t h e   s F l o w   A g e n t 
       t o   e n c o d e   a n d   t h e   s F l o w   A n a l y z e r   t o   d e c o d e . 
 
       S a m p l e s   a r e   s e n t   a s   U D P   p a c k e t s   t o   t h e   h o s t   a n d   p o r t   s p e c i f i e d   i n   t h e 
       S F L O W   M I B .     T h e   l a c k   o f   r e l i a b i l i t y   i n   t h e   U D P   t r a n s p o r t   m e c h a n i s m 
       d o e s   n o t   s i g n i f i c a n t l y   a f f e c t   t h e   a c c u r a c y   o f   t h e   m e a s u r e m e n t s 
       o b t a i n e d   f r o m   a n   s F l o w   A g e n t . 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   1 4 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
       o     I f   c o u n t e r   s a m p l e s   a r e   l o s t   t h e n   n e w   v a l u e s   w i l l   b e   s e n t   d u r i n g 
             t h e   n e x t   p o l l i n g   i n t e r v a l .     T h e   c h a n c e   o f   a n   u n d e t e c t e d   c o u n t e r 
             w r a p   i s   n e g l i g i b l e .     T h e   s F l o w   d a t a g r a m   s p e c i f i e s   6 4   b i t   o c t e t 
             c o u n t e r s ,   a n d   w i t h   t y p i c a l   c o u n t e r   p o l l i n g   i n t e r v a l s   b e t w e e n   2 0   t o 
             1 2 0   s e c o n d s ,   t h e   c h a n c e   o f   a   l o n g   e n o u g h   s e q u e n c e   o f   s F l o w 
             d a t a g r a m s   b e i n g   l o s t   t o   h i d e   a   c o u n t e r   w r a p   i s   v e r y   s m a l l . 
 
       o     T h e   n e t   e f f e c t   o f   l o s t   f l o w   s a m p l e s   i s   a   s l i g h t   r e d u c t i o n   i n   t h e 
             e f f e c t i v e   s a m p l i n g   r a t e . 
 
       T h e   u s e   o f   U D P   r e d u c e s   t h e   a m o u n t   o f   m e m o r y   r e q u i r e d   t o   b u f f e r   d a t a . 
       U D P   a l s o   p r o v i d e s   a   r o b u s t   m e a n s   o f   d e l i v e r i n g   t i m e l y   t r a f f i c 
       i n f o r m a t i o n   d u r i n g   p e r i o d s   o f   i n t e n s e   t r a f f i c   ( s u c h   a s   a   d e n i a l   o f 
       s e r v i c e   a t t a c k ) .     U D P   i s   m o r e   r o b u s t   t h a n   a   r e l i a b l e   t r a n s p o r t 
       m e c h a n i s m   b e c a u s e   u n d e r   o v e r l o a d   t h e   o n l y   e f f e c t   o n   o v e r a l l   s y s t e m 
       p e r f o r m a n c e   i s   a   s l i g h t   i n c r e a s e   i n   t r a n s m i s s i o n   d e l a y   a n d   a   g r e a t e r 
       n u m b e r   o f   l o s t   p a c k e t s ,   n e i t h e r   o f   w h i c h   h a s   a   s i g n i f i c a n t   e f f e c t   o n 
       a n   s F l o w - b a s e d   m o n i t o r i n g   s y s t e m .     I f   a   r e l i a b l e   t r a n s p o r t   m e c h a n i s m 
       w e r e   u s e d   t h e n   a n   o v e r l o a d   w o u l d   i n t r o d u c e   l o n g   t r a n s m i s s i o n   d e l a y s 
       a n d   r e q u i r e   l a r g e   a m o u n t s   o f   b u f f e r   m e m o r y   o n   t h e   a g e n t . 
 
       W h i l e   t h e   s F l o w   D a t a g r a m   s t r u c t u r e   p e r m i t s   m u l t i p l e   s a m p l e s   t o   b e 
       i n c l u d e d   i n   e a c h   d a t a g r a m ,   t h e   s a m p l i n g   a g e n t   m u s t   n o t   w a i t   f o r   a 
       b u f f e r   t o   f i l l   w i t h   s a m p l e s   b e f o r e   s e n d i n g   t h e   s a m p l e   d a t a g r a m . 
       s F l o w   s a m p l i n g   i s   i n t e n d e d   t o   p r o v i d e   t i m e l y   i n f o r m a t i o n   o n   t r a f f i c . 
       T h e   a g e n t   m a y   a t   m o s t   d e l a y   a   s a m p l e   b y   1   s e c o n d   b e f o r e   i t   i s 
       r e q u i r e d   t o   s e n d   t h e   d a t a g r a m . 
 
       T h e   a g e n t   s h o u l d   t r y   t o   p i g g y b a c k   c o u n t e r   s a m p l e s   o n   t h e   d a t a g r a m 
       s t r e a m   r e s u l t i n g   f r o m   f l o w   s a m p l i n g .     B e f o r e   s e n d i n g   o u t   a   d a t a g r a m 
       t h e   r e m a i n i n g   s p a c e   i n   t h e   b u f f e r   c a n   b e   f i l l e d   w i t h   c o u n t e r   s a m p l e s . 
       T h e   a g e n t   h a s   d i s c r e t i o n   i n   t h e   t i m i n g   o f   i t s   c o u n t e r   p o l l i n g ,   t h e 
       s p e c i f i e d   c o u n t e r   s a m p l i n g   i n t e r v a l s   s F l o w C o u n t e r S a m p l i n g I n t e r v a l   i s 
       a   m a x i m u m ,   s o   t h e   a g e n t   i s   f r e e   t o   s a m p l e   c o u n t e r s   e a r l y   i f   i t   h a s 
       s p a c e   i n   a   d a t a g r a m .     I f   c o u n t e r s   m u s t   b e   s e n t   i n   o r d e r   t o   s a t i s f y 
       t h e   m a x i m u m   s a m p l i n g   i n t e r v a l   t h e n   a   d a t a g r a m   m u s t   b e   s e n t   c o n t a i n i n g 
       t h e   o u t s t a n d i n g   c o u n t e r s . 
 
       T h e   f o l l o w i n g   i s   t h e   X D R   d e s c r i p t i o n   o f   a n   s F l o w   D a t a g r a m : 
 
 / *   s F l o w   D a t a g r a m   V e r s i o n   4   * / 
 
 / *   R e v i s i o n   H i s t o r y 
       -   v e r s i o n   4   a d d s   s u p p o r t   B G P   c o m m u n i t i e s 
       -   v e r s i o n   3   a d d s   s u p p o r t   f o r   e x t e n d e d _ u r l   i n f o r m a t i o n 
 * / 
 
 / *   s F l o w   S a m p l e   t y p e s   * / 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   1 5 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
 / *   A d d r e s s   T y p e s   * / 
 
 t y p e d e f   o p a q u e   i p _ v 4 [ 4 ] ; 
 t y p e d e f   o p a q u e   i p _ v 6 [ 1 6 ] ; 
 
 e n u m   a d d r e s s _ t y p e   { 
       I P _ V 4         =   1 , 
       I P _ V 6         =   2 
 } 
 
 u n i o n   a d d r e s s   ( a d d r e s s _ t y p e   t y p e )   { 
       c a s e   I P _ V 4 : 
           i p _ v 4 ; 
       c a s e   I P _ V 6 : 
           i p _ v 6 ; 
 } 
 
 / *   P a c k e t   h e a d e r   d a t a   * / 
 
 c o n s t   M A X _ H E A D E R _ S I Z E   =   2 5 6 ;       / *   T h e   m a x i m u m   s a m p l e d   h e a d e r   s i z e .   * / 
 
 / *   T h e   h e a d e r   p r o t o c o l   d e s c r i b e s   t h e   f o r m a t   o f   t h e   s a m p l e d   h e a d e r   * / 
 e n u m   h e a d e r _ p r o t o c o l   { 
       E T H E R N E T - I S O 8 0 2 3           =   1 , 
       I S O 8 8 0 2 4 - T O K E N B U S         =   2 , 
       I S O 8 8 0 2 5 - T O K E N R I N G       =   3 , 
       F D D I                                   =   4 , 
       F R A M E - R E L A Y                     =   5 , 
       X 2 5                                     =   6 , 
       P P P                                     =   7 , 
       S M D S                                   =   8 , 
       A A L 5                                   =   9 , 
       A A L 5 - I P                             =   1 0 ,   / *   e . g . ,   C i s c o   A A L 5   m u x   * / 
       I P v 4                                   =   1 1 , 
       I P v 6                                   =   1 2 , 
       M P L S                                   =   1 3 
 } 
 
 s t r u c t   s a m p l e d _ h e a d e r   { 
       h e a d e r _ p r o t o c o l   p r o t o c o l ;               / *   F o r m a t   o f   s a m p l e d   h e a d e r   * / 
       u n s i g n e d   i n t   f r a m e _ l e n g t h ;             / *   O r i g i n a l   l e n g t h   o f   p a c k e t   b e f o r e 
                                                                             s a m p l i n g   * / 
       o p a q u e   h e a d e r < M A X _ H E A D E R _ S I Z E > ;   / *   H e a d e r   b y t e s   * / 
 } 
 
 / *   P a c k e t   I P   v e r s i o n   4   d a t a   * / 
 
 s t r u c t   s a m p l e d _ i p v 4   { 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   1 6 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
       u n s i g n e d   i n t   l e n g t h ;           / *   T h e   l e n g t h   o f   t h e   I P   p a c k e t   e x c l u d i n g 
                                                               l o w e r   l a y e r   e n c a p s u l a t i o n s   * / 
       u n s i g n e d   i n t   p r o t o c o l ;       / *   I P   P r o t o c o l   t y p e 
                                                               ( f o r   e x a m p l e ,   T C P   =   6 ,   U D P   =   1 7 )   * / 
       i p _ v 4   s r c _ i p ;                         / *   S o u r c e   I P   A d d r e s s   * / 
       i p _ v 4   d s t _ i p ;                         / *   D e s t i n a t i o n   I P   A d d r e s s   * / 
       u n s i g n e d   i n t   s r c _ p o r t ;       / *   T C P / U D P   s o u r c e   p o r t   n u m b e r   o r 
                                                               e q u i v a l e n t   * / 
       u n s i g n e d   i n t   d s t _ p o r t ;       / *   T C P / U D P   d e s t i n a t i o n   p o r t   n u m b e r   o r 
                                                               e q u i v a l e n t   * / 
       u n s i g n e d   i n t   t c p _ f l a g s ;     / *   T C P   f l a g s   * / 
       u n s i g n e d   i n t   t o s ;                 / *   I P   t y p e   o f   s e r v i c e   * / 
 } 
 / *   P a c k e t   I P   v e r s i o n   6   d a t a   * / 
 
 s t r u c t   s a m p l e d _ i p v 6   { 
       u n s i g n e d   i n t   l e n g t h ;           / *   T h e   l e n g t h   o f   t h e   I P   p a c k e t   e x c l u d i n g 
                                                               l o w e r   l a y e r   e n c a p s u l a t i o n s   * / 
       u n s i g n e d   i n t   p r o t o c o l ;       / *   I P   n e x t   h e a d e r 
                                                               ( f o r   e x a m p l e ,   T C P   =   6 ,   U D P   =   1 7 )   * / 
       i p _ v 6   s r c _ i p ;                         / *   S o u r c e   I P   A d d r e s s   * / 
       i p _ v 6   d s t _ i p ;                         / *   D e s t i n a t i o n   I P   A d d r e s s   * / 
       u n s i g n e d   i n t   s r c _ p o r t ;       / *   T C P / U D P   s o u r c e   p o r t   n u m b e r   o r 
                                                               e q u i v a l e n t   * / 
       u n s i g n e d   i n t   d s t _ p o r t ;       / *   T C P / U D P   d e s t i n a t i o n   p o r t   n u m b e r   o r 
                                                               e q u i v a l e n t   * / 
       u n s i g n e d   i n t   t c p _ f l a g s ;     / *   T C P   f l a g s   * / 
       u n s i g n e d   i n t   p r i o r i t y ;       / *   I P   p r i o r i t y   * / 
 } 
 
 
 / *   P a c k e t   d a t a   * / 
 
 e n u m   p a c k e t _ i n f o r m a t i o n _ t y p e   { 
       H E A D E R     =   1 ,             / *   P a c k e t   h e a d e r s   a r e   s a m p l e d   * / 
       I P V 4         =   2 ,             / *   I P   v e r s i o n   4   d a t a   * / 
       I P V 6         =   3               / *   I P   v e r s i o n   6   d a t a   * / 
 } 
 
 u n i o n   p a c k e t _ d a t a _ t y p e   ( p a c k e t _ i n f o r m a t i o n _ t y p e   t y p e )   { 
       c a s e   H E A D E R : 
             s a m p l e d _ h e a d e r   h e a d e r ; 
       c a s e   I P V 4 : 
             s a m p l e d _ i p v 4   i p v 4 ; 
       c a s e   I P V 6 : 
             s a m p l e d _ i p v 6   i p v 6 ; 
 } 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   1 7 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
 / *   E x t e n d e d   d a t a   t y p e s   * / 
 
 / *   E x t e n d e d   s w i t c h   d a t a   * / 
 
 s t r u c t   e x t e n d e d _ s w i t c h   { 
       u n s i g n e d   i n t   s r c _ v l a n ;           / *   T h e   8 0 2 . 1 Q   V L A N   i d   o f   i n c o m i n g   f r a m e   * / 
       u n s i g n e d   i n t   s r c _ p r i o r i t y ;   / *   T h e   8 0 2 . 1 p   p r i o r i t y   o f   i n c o m i n g 
                                                                   f r a m e   * / 
       u n s i g n e d   i n t   d s t _ v l a n ;           / *   T h e   8 0 2 . 1 Q   V L A N   i d   o f   o u t g o i n g   f r a m e   * / 
       u n s i g n e d   i n t   d s t _ p r i o r i t y ;   / *   T h e   8 0 2 . 1 p   p r i o r i t y   o f   o u t g o i n g 
                                                                   f r a m e   * / 
 } 
 
 / *   E x t e n d e d   r o u t e r   d a t a   * / 
 
 s t r u c t   e x t e n d e d _ r o u t e r   { 
       a d d r e s s   n e x t h o p ;                   / *   I P   a d d r e s s   o f   n e x t   h o p   r o u t e r   * / 
       u n s i g n e d   i n t   s r c _ m a s k ;       / *   S o u r c e   a d d r e s s   p r e f i x   m a s k   b i t s   * / 
       u n s i g n e d   i n t   d s t _ m a s k ;       / *   D e s t i n a t i o n   a d d r e s s   p r e f i x   m a s k   b i t s   * / 
 } 
 
 / *   E x t e n d e d   g a t e w a y   d a t a   * / 
 
 e n u m   a s _ p a t h _ s e g m e n t _ t y p e   { 
       A S _ S E T             =   1 ,                         / *   U n o r d e r e d   s e t   o f   A S s   * / 
       A S _ S E Q U E N C E   =   2                           / *   O r d e r e d   s e t   o f   A S s   * / 
 } 
 
 u n i o n   a s _ p a t h _ t y p e   ( a s _ p a t h _ s e g m e n t _ t y p e )   { 
       c a s e   A S _ S E T : 
             u n s i g n e d   i n t   a s _ s e t < > ; 
       c a s e   A S _ S E Q U E N C E : 
             u n s i g n e d   i n t   a s _ s e q u e n c e < > ; 
 } 
 
 s t r u c t   e x t e n d e d _ g a t e w a y   { 
       u n s i g n e d   i n t   a s ;                         / *   A u t o n o m o u s   s y s t e m   n u m b e r   o f   r o u t e r   * / 
       u n s i g n e d   i n t   s r c _ a s ;                 / *   A u t o n o m o u s   s y s t e m   n u m b e r   o f   s o u r c e   * / 
       u n s i g n e d   i n t   s r c _ p e e r _ a s ;       / *   A u t o n o m o u s   s y s t e m   n u m b e r   o f   s o u r c e 
                                                                     p e e r   * / 
       a s _ p a t h _ t y p e   d s t _ a s _ p a t h < > ;   / *   A u t o n o m o u s   s y s t e m   p a t h   t o   t h e 
                                                                     d e s t i n a t i o n   * / 
       u n s i g n e d   i n t   c o m m u n i t i e s < > ;   / *   C o m m u n i t i e s   a s s o c i a t e d   w i t h   t h i s 
                                                                     r o u t e   * / 
       u n s i g n e d   i n t   l o c a l p r e f ;           / *   L o c a l P r e f   a s s o c i a t e d   w i t h   t h i s 
                                                                     r o u t e   * / 
 } 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   1 8 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
 / *   E x t e n d e d   u s e r   d a t a   * / 
 
 s t r u c t   e x t e n d e d _ u s e r   { 
       s t r i n g   s r c _ u s e r < > ;                     / *   U s e r   I D   a s s o c i a t e d   w i t h   p a c k e t 
                                                                     s o u r c e   * / 
       s t r i n g   d s t _ u s e r < > ;                     / *   U s e r   I D   a s s o c i a t e d   w i t h   p a c k e t 
                                                                     d e s t i n a t i o n   * / 
 
 } 
 
 / *   E x t e n d e d   U R L   d a t a   * / 
 
 e n u m   u r l _ d i r e c t i o n   { 
       s r c         =   1 ,                                   / *   U R L   i s   a s s o c i a t e d   w i t h   s o u r c e 
                                                                     a d d r e s s   * / 
       d s t         =   2                                     / *   U R L   i s   a s s o c i a t e d   w i t h   d e s t i n a t i o n 
                                                                     a d d r e s s   * / 
 } 
 
 s t r u c t   e x t e n d e d _ u r l   { 
       u r l _ d i r e c t i o n   d i r e c t i o n ;         / *   U R L   a s s o c i a t e d   w i t h   p a c k e t   s o u r c e   * / 
       s t r i n g   u r l < > ;                               / *   U R L   a s s o c i a t e d   w i t h   t h e   p a c k e t   f l o w   * / 
 } 
 
 / *   E x t e n d e d   d a t a   * / 
 e n u m   e x t e n d e d _ i n f o r m a t i o n _ t y p e   { 
       S W I T C H         =   1 ,             / *   E x t e n d e d   s w i t c h   i n f o r m a t i o n   * / 
       R O U T E R         =   2 ,             / *   E x t e n d e d   r o u t e r   i n f o r m a t i o n   * / 
       G A T E W A Y       =   3 ,             / *   E x t e n d e d   g a t e w a y   r o u t e r   i n f o r m a t i o n   * / 
       U S E R             =   4 ,             / *   E x t e n d e d   T A C A C S / R A D I U S   u s e r   i n f o r m a t i o n   * / 
       U R L               =   5               / *   E x t e n d e d   U R L   i n f o r m a t i o n   * / 
 } 
 
 u n i o n   e x t e n d e d _ d a t a _ t y p e   ( e x t e n d e d _ i n f o r m a t i o n _ t y p e   t y p e )   { 
       c a s e   S W I T C H : 
             e x t e n d e d _ s w i t c h   s w i t c h ; 
       c a s e   R O U T E R : 
             e x t e n d e d _ r o u t e r   r o u t e r ; 
       c a s e   G A T E W A Y : 
             e x t e n d e d _ g a t e w a y   g a t e w a y ; 
       c a s e   U S E R : 
             e x t e n d e d _ u s e r   u s e r ; 
       c a s e   U R L : 
             e x t e n d e d _ u r l   u r l ; 
 } 
 
 / *   F o r m a t   o f   a   s i n g l e   f l o w   s a m p l e   * / 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   1 9 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
 s t r u c t   f l o w _ s a m p l e   { 
 u n s i g n e d   i n t   s e q u e n c e _ n u m b e r ;         / *   I n c r e m e n t e d   w i t h   e a c h   f l o w   s a m p l e 
                                                                         g e n e r a t e d   b y   t h i s   s o u r c e _ i d   * / 
 u n s i g n e d   i n t   s o u r c e _ i d ;                     / *   s F l o w D a t a S o u r c e   e n c o d e d   a s   f o l l o w s : 
                                                                         T h e   m o s t   s i g n i f i c a n t   b y t e   o f   t h e 
                                                                         s o u r c e _ i d   i s   u s e d   t o   i n d i c a t e   t h e 
                                                                         t y p e   o f   s F l o w D a t a S o u r c e 
                                                                         ( 0   =   i f I n d e x , 
                                                                         1   =   s m o n V l a n D a t a S o u r c e , 
                                                                         2   =   e n t P h y s i c a l E n t r y )   a n d   t h e 
                                                                         l o w e r   t h r e e   b y t e s   c o n t a i n   t h e 
                                                                         r e l e v a n t   i n d e x   v a l u e . * / 
 
 u n s i g n e d   i n t   s a m p l i n g _ r a t e ;             / *   s F l o w P a c k e t S a m p l i n g R a t e   * / 
 u n s i g n e d   i n t   s a m p l e _ p o o l ;                 / *   T o t a l   n u m b e r   o f   p a c k e t s   t h a t   c o u l d 
                                                                         h a v e   b e e n   s a m p l e d   ( i . e . ,   p a c k e t s 
                                                                         s k i p p e d   b y   s a m p l i n g   p r o c e s s   +   t o t a l 
                                                                         n u m b e r   o f   s a m p l e s )   * / 
 u n s i g n e d   i n t   d r o p s ;                             / *   N u m b e r   t i m e s   a   p a c k e t   w a s   d r o p p e d 
                                                                         d u e   t o   l a c k   o f   r e s o u r c e s   * / 
 
 u n s i g n e d   i n t   i n p u t ;                               / *   S N M P   i f I n d e x   o f   i n p u t   i n t e r f a c e . 
                                                                           0   i f   i n t e r f a c e   i s   n o t   k n o w n .     * / 
 u n s i g n e d   i n t   o u t p u t ;                             / *   S N M P   i f I n d e x   o f   o u t p u t   i n t e r f a c e , 
                                                                           0   i f   i n t e r f a c e   i s   n o t   k n o w n . 
                                                                           S e t   m o s t   s i g n i f i c a n t   b i t   t o 
                                                                           i n d i c a t e   m u l t i p l e   d e s t i n a t i o n 
                                                                           i n t e r f a c e s   ( i . e . ,   i n   c a s e   o f 
                                                                           b r o a d c a s t   o r   m u l t i c a s t ) 
                                                                           a n d   s e t   l o w e r   o r d e r   b i t s   t o 
                                                                           i n d i c a t e   n u m b e r   o f   d e s t i n a t i o n 
                                                                           i n t e r f a c e s . 
                                                                           E x a m p l e s : 
                                                                                 0 x 0 0 0 0 0 0 0 2     i n d i c a t e s   i f I n d e x   = 
                                                                                                         2 
                                                                                 0 x 0 0 0 0 0 0 0 0     i f I n d e x   u n k n o w n . 
                                                                                 0 x 8 0 0 0 0 0 0 7     i n d i c a t e s   a   p a c k e t 
                                                                                                         s e n t   t o   7 
                                                                                                         i n t e r f a c e s . 
                                                                                 0 x 8 0 0 0 0 0 0 0     i n d i c a t e s   a   p a c k e t 
                                                                                                         s e n t   t o   a n   u n k n o w n 
                                                                                                         n u m b e r   o f   i n t e r f a c e s 
                                                                                                         g r e a t e r   t h a n   1 .   * / 
 
       p a c k e t _ d a t a _ t y p e   p a c k e t _ d a t a ;               / *   I n f o r m a t i o n   a b o u t   s a m p l e d 
                                                                                     p a c k e t   * / 
       e x t e n d e d _ d a t a _ t y p e   e x t e n d e d _ d a t a < > ;   / *   E x t e n d e d   f l o w   i n f o r m a t i o n   * / 
 } 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   2 0 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
 / *   C o u n t e r   t y p e s   * / 
 
 / *   G e n e r i c   i n t e r f a c e   c o u n t e r s   -   s e e   R F C   2 2 3 3   * / 
 
 s t r u c t   i f _ c o u n t e r s   { 
       u n s i g n e d   i n t   i f I n d e x ; 
       u n s i g n e d   i n t   i f T y p e ; 
       u n s i g n e d   h y p e r   i f S p e e d ; 
       u n s i g n e d   i n t   i f D i r e c t i o n ;         / *   d e r i v e d   f r o m   M A U   M I B   ( R F C   2 6 6 8 ) 
                                                                       0   =   u n k n o w n ,   1 = f u l l - d u p l e x , 
                                                                       2 = h a l f - d u p l e x ,   3   =   i n ,   4 = o u t   * / 
       u n s i g n e d   i n t   i f S t a t u s ;               / *   b i t   f i e l d   w i t h   t h e   f o l l o w i n g   b i t s 
                                                                       a s s i g n e d 
                                                                       b i t   0   =   i f A d m i n S t a t u s 
                                                                           ( 0   =   d o w n ,   1   =   u p ) 
                                                                       b i t   1   =   i f O p e r S t a t u s 
                                                                           ( 0   =   d o w n ,   1   =   u p )   * / 
       u n s i g n e d   h y p e r   i f I n O c t e t s ; 
       u n s i g n e d   i n t   i f I n U c a s t P k t s ; 
       u n s i g n e d   i n t   i f I n M u l t i c a s t P k t s ; 
       u n s i g n e d   i n t   i f I n B r o a d c a s t P k t s ; 
       u n s i g n e d   i n t   i f I n D i s c a r d s ; 
       u n s i g n e d   i n t   i f I n E r r o r s ; 
       u n s i g n e d   i n t   i f I n U n k n o w n P r o t o s ; 
       u n s i g n e d   h y p e r   i f O u t O c t e t s ; 
       u n s i g n e d   i n t   i f O u t U c a s t P k t s ; 
       u n s i g n e d   i n t   i f O u t M u l t i c a s t P k t s ; 
       u n s i g n e d   i n t   i f O u t B r o a d c a s t P k t s ; 
       u n s i g n e d   i n t   i f O u t D i s c a r d s ; 
       u n s i g n e d   i n t   i f O u t E r r o r s ; 
       u n s i g n e d   i n t   i f P r o m i s c u o u s M o d e ; 
 } 
 
 / *   E t h e r n e t   i n t e r f a c e   c o u n t e r s   -   s e e   R F C   2 3 5 8   * / 
 
 s t r u c t   e t h e r n e t _ c o u n t e r s   { 
       i f _ c o u n t e r s   g e n e r i c ; 
       u n s i g n e d   i n t   d o t 3 S t a t s A l i g n m e n t E r r o r s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s F C S E r r o r s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s S i n g l e C o l l i s i o n F r a m e s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s M u l t i p l e C o l l i s i o n F r a m e s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s S Q E T e s t E r r o r s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s D e f e r r e d T r a n s m i s s i o n s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s L a t e C o l l i s i o n s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s E x c e s s i v e C o l l i s i o n s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s I n t e r n a l M a c T r a n s m i t E r r o r s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s C a r r i e r S e n s e E r r o r s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s F r a m e T o o L o n g s ; 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   2 1 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
       u n s i g n e d   i n t   d o t 3 S t a t s I n t e r n a l M a c R e c e i v e E r r o r s ; 
       u n s i g n e d   i n t   d o t 3 S t a t s S y m b o l E r r o r s ; 
 } 
 
 / *   F D D I   i n t e r f a c e   c o u n t e r s   -   s e e   R F C   1 5 1 2   * / 
 s t r u c t   f d d i _ c o u n t e r s   { 
     i f _ c o u n t e r s   g e n e r i c ; 
 } 
 
 / *   T o k e n   r i n g   c o u n t e r s   -   s e e   R F C   1 7 4 8   * / 
 
 s t r u c t   t o k e n r i n g _ c o u n t e r s   { 
     i f _ c o u n t e r s   g e n e r i c ; 
     u n s i g n e d   i n t   d o t 5 S t a t s L i n e E r r o r s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s B u r s t E r r o r s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s A C E r r o r s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s A b o r t T r a n s E r r o r s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s I n t e r n a l E r r o r s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s L o s t F r a m e E r r o r s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s R e c e i v e C o n g e s t i o n s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s F r a m e C o p i e d E r r o r s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s T o k e n E r r o r s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s S o f t E r r o r s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s H a r d E r r o r s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s S i g n a l L o s s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s T r a n s m i t B e a c o n s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s R e c o v e r y s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s L o b e W i r e s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s R e m o v e s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s S i n g l e s ; 
     u n s i g n e d   i n t   d o t 5 S t a t s F r e q E r r o r s ; 
 } 
 
 / *   1 0 0   B a s e V G   i n t e r f a c e   c o u n t e r s   -   s e e   R F C   2 0 2 0   * / 
 
 s t r u c t   v g _ c o u n t e r s   { 
     i f _ c o u n t e r s   g e n e r i c ; 
     u n s i g n e d   i n t   d o t 1 2 I n H i g h P r i o r i t y F r a m e s ; 
     u n s i g n e d   h y p e r   d o t 1 2 I n H i g h P r i o r i t y O c t e t s ; 
     u n s i g n e d   i n t   d o t 1 2 I n N o r m P r i o r i t y F r a m e s ; 
     u n s i g n e d   h y p e r   d o t 1 2 I n N o r m P r i o r i t y O c t e t s ; 
     u n s i g n e d   i n t   d o t 1 2 I n I P M E r r o r s ; 
     u n s i g n e d   i n t   d o t 1 2 I n O v e r s i z e F r a m e E r r o r s ; 
     u n s i g n e d   i n t   d o t 1 2 I n D a t a E r r o r s ; 
     u n s i g n e d   i n t   d o t 1 2 I n N u l l A d d r e s s e d F r a m e s ; 
     u n s i g n e d   i n t   d o t 1 2 O u t H i g h P r i o r i t y F r a m e s ; 
     u n s i g n e d   h y p e r   d o t 1 2 O u t H i g h P r i o r i t y O c t e t s ; 
     u n s i g n e d   i n t   d o t 1 2 T r a n s i t i o n I n t o T r a i n i n g s ; 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   2 2 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
     u n s i g n e d   h y p e r   d o t 1 2 H C I n H i g h P r i o r i t y O c t e t s ; 
     u n s i g n e d   h y p e r   d o t 1 2 H C I n N o r m P r i o r i t y O c t e t s ; 
     u n s i g n e d   h y p e r   d o t 1 2 H C O u t H i g h P r i o r i t y O c t e t s ; 
 } 
 
 / *   W A N   c o u n t e r s   * / 
 
 s t r u c t   w a n _ c o u n t e r s   { 
     i f _ c o u n t e r s   g e n e r i c ; 
 } 
 
 / *   V L A N   c o u n t e r s   * / 
 
 s t r u c t   v l a n _ c o u n t e r s   { 
     u n s i g n e d   i n t   v l a n _ i d ; 
     u n s i g n e d   h y p e r   o c t e t s ; 
     u n s i g n e d   i n t   u c a s t P k t s ; 
     u n s i g n e d   i n t   m u l t i c a s t P k t s ; 
     u n s i g n e d   i n t   b r o a d c a s t P k t s ; 
     u n s i g n e d   i n t   d i s c a r d s ; 
 } 
 
 / *   C o u n t e r   d a t a   * / 
 
 e n u m   c o u n t e r s _ v e r s i o n   { 
       G E N E R I C             =   1 , 
       E T H E R N E T           =   2 , 
       T O K E N R I N G         =   3 , 
       F D D I                   =   4 , 
       V G                       =   5 , 
       W A N                     =   6 , 
       V L A N                   =   7 
 } 
 
 u n i o n   c o u n t e r s _ t y p e   ( c o u n t e r s _ v e r s i o n   v e r s i o n )   { 
       c a s e   G E N E R I C : 
             i f _ c o u n t e r s   g e n e r i c ; 
       c a s e   E T H E R N E T : 
             e t h e r n e t _ c o u n t e r s   e t h e r n e t ; 
       c a s e   T O K E N R I N G : 
             t o k e n r i n g _ c o u n t e r s   t o k e n r i n g ; 
       c a s e   F D D I : 
             f d d i _ c o u n t e r s   f d d i ; 
       c a s e   V G : 
             v g _ c o u n t e r s   v g ; 
       c a s e   W A N : 
             w a n _ c o u n t e r s   w a n ; 
       c a s e   V L A N : 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   2 3 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
             v l a n _ c o u n t e r s   v l a n ; 
 } 
 
 / *   F o r m a t   o f   a   s i n g l e   c o u n t e r   s a m p l e   * / 
 
 s t r u c t   c o u n t e r s _ s a m p l e   { 
       u n s i g n e d   i n t   s e q u e n c e _ n u m b e r ;       / *   I n c r e m e n t e d   w i t h   e a c h   c o u n t e r 
                                                                             s a m p l e   g e n e r a t e d   b y   t h i s 
                                                                             s o u r c e _ i d   * / 
       u n s i g n e d   i n t   s o u r c e _ i d ;                   / *   s F l o w D a t a S o u r c e   e n c o d e d   a s 
                                                                             f o l l o w s : 
                                                                               T h e   m o s t   s i g n i f i c a n t   b y t e   o f   t h e 
                                                                               s o u r c e _ i d   i s   u s e d   t o   i n d i c a t e   t h e 
                                                                               t y p e   o f   s F l o w D a t a S o u r c e 
                                                                               ( 0   =   i f I n d e x , 
                                                                               1   =   s m o n V l a n D a t a S o u r c e , 
                                                                               2   =   e n t P h y s i c a l E n t r y )   a n d   t h e 
                                                                                       l o w e r   t h r e e 
                                                                               b y t e s   c o n t a i n   t h e   r e l e v a n t 
                                                                               i n d e x   v a l u e . * / 
 
       u n s i g n e d   i n t   s a m p l i n g _ i n t e r v a l ;   / *   s F l o w C o u n t e r S a m p l i n g I n t e r v a l * / 
       c o u n t e r s _ t y p e   c o u n t e r s ; 
 } 
 
 / *   F o r m a t   o f   a   s a m p l e   d a t a g r a m   * / 
 
 e n u m   s a m p l e _ t y p e s   { 
       F L O W S A M P L E     =   1 , 
       C O U N T E R S S A M P L E   =   2 
 } 
 
 u n i o n   s a m p l e _ t y p e   ( s a m p l e _ t y p e s   s a m p l e t y p e )   { 
       c a s e   F L O W S A M P L E : 
             f l o w _ s a m p l e   f l o w s a m p l e ; 
       c a s e   C O U N T E R S S A M P L E : 
             c o u n t e r s _ s a m p l e   c o u n t e r s s a m p l e ; 
 } 
 
 s t r u c t   s a m p l e _ d a t a g r a m _ v 4   { 
       a d d r e s s   a g e n t _ a d d r e s s                       / *   I P   a d d r e s s   o f   s a m p l i n g   a g e n t , 
                                                                             s F l o w A g e n t A d d r e s s .   * / 
       u n s i g n e d   i n t   s e q u e n c e _ n u m b e r ;     / *   I n c r e m e n t e d   w i t h   e a c h   s a m p l e 
                                                                           d a t a g r a m   g e n e r a t e d   * / 
       u n s i g n e d   i n t   u p t i m e ;                       / *   C u r r e n t   t i m e   ( i n   m i l l i s e c o n d s   s i n c e 
                                                                           d e v i c e   l a s t   b o o t e d ) .     S h o u l d   b e   s e t 
                                                                           a s   c l o s e   t o   d a t a g r a m   t r a n s m i s s i o n 
                                                                           t i m e   a s   p o s s i b l e . * / 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   2 4 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
       s a m p l e _ t y p e   s a m p l e s < > ;                   / *   A n   a r r a y   o f   f l o w ,   c o u n t e r   a n d   d e l a y 
                                                                           s a m p l e s   * / 
 } 
 
 e n u m   d a t a g r a m _ v e r s i o n   { 
       V E R S I O N 4   =   4 
 } 
 
 u n i o n   s a m p l e _ d a t a g r a m _ t y p e   ( d a t a g r a m _ v e r s i o n   v e r s i o n )   { 
       c a s e   V E R S I O N 4 : 
             s a m p l e _ d a t a g r a m _ v 4   d a t a g r a m ; 
 } 
 
 s t r u c t   s a m p l e _ d a t a g r a m   { 
       s a m p l e _ d a t a g r a m _ t y p e   v e r s i o n ; 
 } 
 
       T h e   s F l o w   D a t a g r a m   s p e c i f i c a t i o n   m a k e s   u s e   o f   d e f i n i t i o n s   f r o m   a 
       n u m b e r   o f   e x i s t i n g   R F C s   [ 2 2 ] ,   [ 2 3 ] ,   [ 2 4 ] ,   [ 2 5 ] ,   [ 2 6 ] ,   [ 2 7 ]   a n d   [ 2 8 ] . 
 
 5 .   S e c u r i t y   C o n s i d e r a t i o n s 
 
       D e p l o y i n g   a   t r a f f i c   m o n i t o r i n g   s y s t e m   r a i s e s   a   n u m b e r   o f   s e c u r i t y 
       r e l a t e d   i s s u e s .     s F l o w   d o e s   n o t   p r o v i d e   s p e c i f i c   s e c u r i t y   m e c h a n i s m s , 
       r e l y i n g   i n s t e a d   o n   p r o p e r   d e p l o y m e n t   a n d   c o n f i g u r a t i o n   t o   m a i n t a i n   a n 
       a d e q u a t e   l e v e l   o f   s e c u r i t y . 
 
       W h i l e   t h e   d e p l o y m e n t   o f   t r a f f i c   m o n i t o r i n g   s y s t e m s   d o e s   c r e a t e   s o m e 
       r i s k ,   i t   a l s o   p r o v i d e s   a   p o w e r f u l   m e a n s   o f   d e t e c t i n g   a n d   t r a c i n g 
       u n a u t h o r i z e d   n e t w o r k   a c t i v i t y . 
 
       T h i s   s e c t i o n   i s   i n t e n d e d   t o   p r o v i d e   i n f o r m a t i o n   t h a t   w i l l   h e l p 
       u n d e r s t a n d   p o t e n t i a l   r i s k s   a n d   c o n f i g u r a t i o n   o p t i o n s   f o r   m i t i g a t i n g 
       t h o s e   r i s k s . 
 
 5 . 1   C o n t r o l 
 
       T h e   s F l o w   M I B   i s   u s e d   t o   c o n f i g u r e   t h e   g e n e r a t i o n   o f   s F l o w   s a m p l e s . 
       T h e   s e c u r i t y   o f   S N M P ,   w i t h   a c c e s s   c o n t r o l   l i s t s ,   i s   u s u a l l y 
       c o n s i d e r e d   a d e q u a t e   i n   a n   e n t e r p r i s e   s e t t i n g .     H o w e v e r ,   t h e r e   a r e 
       s i t u a t i o n s   w h e n   t h e s e   s e c u r i t y   m e a s u r e s   a r e   i n s u f f i c i e n t   ( f o r   e x a m p l e 
       a   W A N   r o u t e r )   a n d   S N M P   c o n f i g u r a t i o n   c o n t r o l   w i l l   b e   d i s a b l e d . 
 
       W h e n   S N M P   i s   d i s a b l e d ,   a   c o m m a n d   l i n e   i n t e r f a c e   i s   t y p i c a l l y 
       p r o v i d e d .     T h e   f o l l o w i n g   a r g u m e n t s   a r e   r e q u i r e d   t o   c o n f i g u r e   s F l o w 
       s a m p l i n g   o n   a n   i n t e r f a c e . 
 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   2 5 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
       - s F l o w D a t a S o u r c e                               < s o u r c e > 
       - s F l o w P a c k e t S a m p l i n g R a t e               < r a t e > 
       - s F l o w C o u n t e r S a m p l i n g I n t e r v a l     < i n t e r v a l > 
       - s F l o w M a x i m u m H e a d e r S i z e                 < h e a d e r   s i z e > 
       - s F l o w M a x i m u m D a t a g r a m S i z e             < d a t a g r a m   s i z e > 
       - s F l o w C o l l e c t o r A d d r e s s                   < a d d r e s s > 
       - s F l o w C o l l e c t o r P o r t                         < p o r t > 
 
 5 . 2   T r a n s p o r t 
 
       T r a f f i c   i n f o r m a t i o n   i s   s e n t   u n e n c r y p t e d   a c r o s s   t h e   n e t w o r k   f r o m   t h e 
       s F l o w   A g e n t   t o   t h e   s F l o w   A n a l y z e r   a n d   i s   t h u s   v u l n e r a b l e   t o 
       e a v e s d r o p p i n g .     T h i s   r i s k   c a n   b e   l i m i t e d   b y   c r e a t i n g   a   s e c u r e 
       m e a s u r e m e n t   n e t w o r k   a n d   r o u t i n g   t h e   s F l o w   D a t a g r a m s   o v e r   t h i s 
       n e t w o r k .     T h e   c h o i c e   o f   t e c h n o l o g y   f o r   c r e a t i n g   t h e   s e c u r e 
       m e a s u r e m e n t   n e t w o r k   i s   d e p l o y m e n t   s p e c i f i c ,   b u t   c o u l d   i n c l u d e   t h e   u s e 
       o f   V L A N s   o r   V P N   t u n n e l s . 
 
       T h e   s F l o w   A n a l y z e r   i s   v u l n e r a b l e   t o   a t t a c k s   i n v o l v i n g   s p o o f e d   s F l o w 
       D a t a g r a m s .     T o   l i m i t   t h i s   v u l n e r a b i l i t y   t h e   s F l o w   A n a l y z e r   s h o u l d 
       c h e c k   s e q u e n c e   n u m b e r s   a n d   v e r i f y   s o u r c e   a d d r e s s e s .     I f   a   s e c u r e 
       m e a s u r e m e n t   n e t w o r k   h a s   b e e n   c o n s t r u c t e d   t h e n   o n l y   s F l o w   D a t a g r a m s 
       r e c e i v e d   f r o m   t h a t   n e t w o r k   s h o u l d   b e   p r o c e s s e d . 
 
 5 . 3   C o n f i d e n t i a l i t y 
 
       T r a f f i c   i n f o r m a t i o n   c a n   r e v e a l   c o n f i d e n t i a l   i n f o r m a t i o n   a b o u t 
       i n d i v i d u a l   n e t w o r k   u s e r s .     T h e   d e g r e e   o f   v i s i b i l i t y   o f   a p p l i c a t i o n 
       l e v e l   d a t a   c a n   b e   c o n t r o l l e d   b y   l i m i t i n g   t h e   n u m b e r   o f   h e a d e r   b y t e s 
       c a p t u r e d   b y   t h e   s F l o w   a g e n t .     I n   a d d i t i o n ,   p a c k e t   s a m p l i n g   m a k e s   i t 
       v i r t u a l l y   i m p o s s i b l e   t o   c a p t u r e   s e q u e n c e s   o f   p a c k e t s   f r o m   a n 
       i n d i v i d u a l   t r a n s a c t i o n . 
 
       T h e   t r a f f i c   p a t t e r n s   d i s c e r n i b l e   b y   d e c o d i n g   t h e   s F l o w   D a t a g r a m s   i n 
       t h e   s F l o w   A n a l y z e r   c a n   r e v e a l   d e t a i l s   o f   a n   i n d i v i d u a l ' s   n e t w o r k 
       r e l a t e d   a c t i v i t i e s   a n d   d u e   c a r e   s h o u l d   b e   t a k e n   t o   s e c u r e   a c c e s s   t o 
       t h e   s F l o w   A n a l y z e r . 
 
 6 .   R e f e r e n c e s 
 
       [ 1 ]       S u n   M i c r o s y s t e m s ,   I n c . ,   " X D R :   E x t e r n a l   D a t a   R e p r e s e n t a t i o n 
                   S t a n d a r d " ,   R F C   1 0 1 4 ,   J u n e   1 9 8 7 . 
 
       [ 2 ]       H a r r i n g t o n ,   D . ,   P r e s u h n ,   R . ,   a n d   B .   W i j n e n ,   " A n   A r c h i t e c t u r e 
                   f o r   D e s c r i b i n g   S N M P   M a n a g e m e n t   F r a m e w o r k s " ,   R F C   2 5 7 1 ,   A p r i l 
                   1 9 9 9 . 
 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   2 6 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
       [ 3 ]       R o s e ,   M .   a n d   K .   M c C l o g h r i e ,   " S t r u c t u r e   a n d   I d e n t i f i c a t i o n   o f 
                   M a n a g e m e n t   I n f o r m a t i o n   f o r   T C P / I P - b a s e d   I n t e r n e t s " ,   S T D   1 6 ,   R F C 
                   1 1 5 5 ,   M a y   1 9 9 0 . 
 
       [ 4 ]       R o s e ,   M .   a n d   K .   M c C l o g h r i e ,   " C o n c i s e   M I B   D e f i n i t i o n s " ,   S T D   1 6 , 
                   R F C   1 2 1 2 ,   M a r c h   1 9 9 1 . 
 
       [ 5 ]       R o s e ,   M . ,   " A   C o n v e n t i o n   f o r   D e f i n i n g   T r a p s   f o r   u s e   w i t h   t h e 
                   S N M P " ,   R F C   1 2 1 5 ,   M a r c h   1 9 9 1 . 
 
       [ 6 ]       M c C l o g h r i e ,   K . ,   P e r k i n s ,   D . ,   S c h o e n w a e l d e r ,   J . ,   C a s e ,   J . ,   R o s e , 
                   M .   a n d   S .   W a l d b u s s e r ,   " S t r u c t u r e   o f   M a n a g e m e n t   I n f o r m a t i o n 
                   V e r s i o n   2   ( S M I v 2 ) " ,   S T D   5 8 ,   R F C   2 5 7 8 ,   A p r i l   1 9 9 9 . 
 
       [ 7 ]       M c C l o g h r i e ,   K . ,   P e r k i n s ,   D . ,   S c h o e n w a e l d e r ,   J . ,   C a s e ,   J . ,   R o s e , 
                   M .   a n d   S .   W a l d b u s s e r ,   " T e x t u a l   C o n v e n t i o n s   f o r   S M I v 2 " ,   S T D   5 8 , 
                   R F C   2 5 7 9 ,   A p r i l   1 9 9 9 . 
 
       [ 8 ]       M c C l o g h r i e ,   K . ,   P e r k i n s ,   D . ,   S c h o e n w a e l d e r ,   J . ,   C a s e ,   J . ,   R o s e , 
                   M .   a n d   S .   W a l d b u s s e r ,   " C o n f o r m a n c e   S t a t e m e n t s   f o r   S M I v 2 " ,   S T D 
                   5 8 ,   R F C   2 5 8 0 ,   A p r i l   1 9 9 9 . 
 
       [ 9 ]       C a s e ,   J . ,   F e d o r ,   M . ,   S c h o f f s t a l l ,   M .   a n d   J .   D a v i n ,   " S i m p l e 
                   N e t w o r k   M a n a g e m e n t   P r o t o c o l " ,   S T D   1 5 ,   R F C   1 1 5 7 ,   M a y   1 9 9 0 . 
 
       [ 1 0 ]     C a s e ,   J . ,   M c C l o g h r i e ,   K . ,   R o s e ,   M .   a n d   S .   W a l d b u s s e r , 
                   " I n t r o d u c t i o n   t o   C o m m u n i t y - b a s e d   S N M P v 2 " ,   R F C   1 9 0 1 ,   J a n u a r y 
                   1 9 9 6 . 
 
       [ 1 1 ]     C a s e ,   J . ,   M c C l o g h r i e ,   K . ,   R o s e ,   M .   a n d   S .   W a l d b u s s e r , 
                   " T r a n s p o r t   M a p p i n g s   f o r   V e r s i o n   2   o f   t h e   S i m p l e   N e t w o r k 
                   M a n a g e m e n t   P r o t o c o l   ( S N M P v 2 ) " ,   R F C   1 9 0 6 ,   J a n u a r y   1 9 9 6 . 
 
       [ 1 2 ]     C a s e ,   J . ,   H a r r i n g t o n   D . ,   P r e s u h n   R .   a n d   B .   W i j n e n ,   " M e s s a g e 
                   P r o c e s s i n g   a n d   D i s p a t c h i n g   f o r   t h e   S i m p l e   N e t w o r k   M a n a g e m e n t 
                   P r o t o c o l   ( S N M P ) " ,   R F C   2 5 7 2 ,   A p r i l   1 9 9 9 . 
 
       [ 1 3 ]     B l u m e n t h a l ,   U .   a n d   B .   W i j n e n ,   " U s e r - b a s e d   S e c u r i t y   M o d e l   ( U S M ) 
                   f o r   v e r s i o n   3   o f   t h e   S i m p l e   N e t w o r k   M a n a g e m e n t   P r o t o c o l 
                   ( S N M P v 3 ) " ,   R F C   2 5 7 4 ,   A p r i l   1 9 9 9 . 
 
       [ 1 4 ]     C a s e ,   J . ,   M c C l o g h r i e ,   K . ,   R o s e ,   M .   a n d   S .   W a l d b u s s e r ,   " P r o t o c o l 
                   O p e r a t i o n s   f o r   V e r s i o n   2   o f   t h e   S i m p l e   N e t w o r k   M a n a g e m e n t 
                   P r o t o c o l   ( S N M P v 2 ) " ,   R F C   1 9 0 5 ,   J a n u a r y   1 9 9 6 . 
 
       [ 1 5 ]     L e v i ,   D . ,   M e y e r ,   P .   a n d   B .   S t e w a r t ,   " S N M P v 3   A p p l i c a t i o n s " ,   R F C 
                   2 5 7 3 ,   A p r i l   1 9 9 9 . 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   2 7 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
       [ 1 6 ]     W i j n e n ,   B . ,   P r e s u h n ,   R .   a n d   K .   M c C l o g h r i e ,   " V i e w - b a s e d   A c c e s s 
                   C o n t r o l   M o d e l   ( V A C M )   f o r   t h e   S i m p l e   N e t w o r k   M a n a g e m e n t   P r o t o c o l 
                   ( S N M P ) " ,   R F C   2 5 7 5 ,   A p r i l   1 9 9 9 . 
 
       [ 1 7 ]     C a s e ,   J . ,   M u n d y ,   R . ,   P a r t a i n ,   D .   a n d   B .   S t e w a r t ,   " I n t r o d u c t i o n 
                   t o   V e r s i o n   3   o f   t h e   I n t e r n e t - s t a n d a r d   N e t w o r k   M a n a g e m e n t 
                   F r a m e w o r k " ,   R F C   2 5 7 0 ,   A p r i l   1 9 9 9 . 
 
       [ 1 8 ]     W a l d b u s s e r ,   S . ,   " R e m o t e   N e t w o r k   M o n i t o r i n g   M a n a g e m e n t 
                   I n f o r m a t i o n   B a s e " ,   R F C   2 8 1 9 ,   M a y   2 0 0 0 . 
 
       [ 1 9 ]     W a t e r m a n ,   R . ,   L a h a y e ,   B . ,   R o m a s c a n u ,   D .   a n d   S .   W a l d b u s s e r , 
                   " R e m o t e   N e t w o r k   M o n i t o r i n g   M I B   E x t e n s i o n s   f o r   S w i t c h e d   N e t w o r k s 
                   V e r s i o n   1 . 0 " ,   R F C   2 6 1 3 ,   J u n e   1 9 9 9 . 
 
       [ 2 0 ]     D a n i e l e ,   M . ,   H a b e r m a n ,   B . ,   R o u t h i e r ,   S .   a n d   J .   S c h o e n w a e l d e r , 
                   " T e x t u a l   C o n v e n t i o n s   f o r   I n t e r n e t   N e t w o r k   A d d r e s s e s " ,   R F C   2 8 5 1 , 
                   J u n e   2 0 0 0 . 
 
       [ 2 1 ]     B r o w n l e e ,   N . ,   " T r a f f i c   F l o w   M e a s u r e m e n t :   M e t e r   M I B " ,   R F C   2 7 2 0 , 
                   O c t o b e r   1 9 9 9 . 
 
       [ 2 2 ]     S m i t h ,   A . ,   F l i c k ,   J . ,   d e   G r a a f ,   K . ,   R o m a n s c a n u ,   D . ,   M c M a s t e r , 
                   D . ,   M c C l o g h r i e ,   K .   a n d   S .   R o b e r t s ,   " D e f i n i t i o n   o f   M a n a g e d 
                   O b j e c t s   f o r   I E E E   8 0 2 . 3   M e d i u m   A t t a c h m e n t   U n i t s   ( M A U s ) " ,   R F C 
                   2 6 6 8 ,   A u g u s t   1 9 9 9 . 
 
       [ 2 3 ]     M c C l o g h r i e ,   K .   a n d   F .   K a s t e n h o l z ,   " T h e   I n t e r f a c e s   G r o u p   M I B 
                   u s i n g   S M I v 2 " ,   R F C   2 2 3 3 ,   N o v e m b e r   1 9 9 7 . 
 
       [ 2 4 ]     F l i c k ,   J .   a n d   J .   J o h n s o n ,   " D e f i n i t i o n   o f   M a n a g e d   O b j e c t s   f o r 
                   t h e   E t h e r n e t - l i k e   I n t e r f a c e   T y p e s " ,   R F C   2 3 5 8 ,   J u n e   1 9 9 8 . 
 
       [ 2 5 ]     C a s e ,   J . ,   " F D D I   M a n a g e m e n t   I n f o r m a t i o n   B a s e " ,   R F C   1 5 1 2 , 
                   S e p t e m b e r   1 9 9 3 . 
 
       [ 2 6 ]     M c C l o g h r i e ,   K .   a n d   E .   D e c k e r ,   " I E E E   8 0 2 . 5   M I B   u s i n g   S M I v 2 " ,   R F C 
                   1 7 4 8 ,   D e c e m b e r   1 9 9 4 . 
 
       [ 2 7 ]     F l i c k ,   J . ,   " D e f i n i t i o n s   o f   M a n a g e d   O b j e c t s   f o r   I E E E   8 0 2 . 1 2 
                   I n t e r f a c e s " ,   R F C   2 0 2 0 ,   O c t o b e r   1 9 9 6 . 
 
       [ 2 8 ]     W i l l i s ,   S . ,   B u r r u s s ,   J .   a n d   J .   C h u ,   " D e f i n i t i o n s   o f   M a n a g e d 
                   O b j e c t s   f o r   t h e   F o u r t h   V e r s i o n   o f   t h e   B o r d e r   G a t e w a y   P r o t o c o l 
                   ( B G P - 4 )   u s i n g   S M I v 2 " ,   R F C   1 6 5 7 ,   J u l y   1 9 9 4 . 
 
 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   2 8 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
 7 .   A u t h o r s '   A d d r e s s e s 
 
       P e t e r   P h a a l 
       I n M o n   C o r p o r a t i o n 
       1 4 0 4   I r v i n g   S t r e e t 
       S a n   F r a n c i s c o ,   C A   9 4 1 2 2 
 
       P h o n e :   ( 4 1 5 )   6 6 1 - 6 3 4 3 
       E M a i l :   p e t e r _ p h a a l @ I N M O N . C O M 
 
 
       S o n i a   P a n c h e n 
       I n M o n   C o r p o r a t i o n 
       1 4 0 4   I r v i n g   S t r e e t 
       S a n   F r a n c i s c o ,   C A   9 4 1 2 2 
 
       P h o n e :   ( 4 1 5 )   6 6 1 - 6 3 4 3 
       E M a i l :   s o n i a _ p a n c h e n @ I N M O N . C O M 
 
 
       N e i l   M c K e e 
       I n M o n   C o r p o r a t i o n 
       1 4 0 4   I r v i n g   S t r e e t 
       S a n   F r a n c i s c o ,   C A   9 4 1 2 2 
 
       P h o n e :   ( 4 1 5 )   6 6 1 - 6 3 4 3 
       E M a i l :   n e i l _ m c k e e @ I N M O N . C O M 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   2 9 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
 8 .     I n t e l l e c t u a l   P r o p e r t y   S t a t e m e n t 
 
       T h e   I E T F   t a k e s   n o   p o s i t i o n   r e g a r d i n g   t h e   v a l i d i t y   o r   s c o p e   o f   a n y 
       i n t e l l e c t u a l   p r o p e r t y   o r   o t h e r   r i g h t s   t h a t   m i g h t   b e   c l a i m e d   t o 
       p e r t a i n   t o   t h e   i m p l e m e n t a t i o n   o r   u s e   o f   t h e   t e c h n o l o g y   d e s c r i b e d   i n 
       t h i s   d o c u m e n t   o r   t h e   e x t e n t   t o   w h i c h   a n y   l i c e n s e   u n d e r   s u c h   r i g h t s 
       m i g h t   o r   m i g h t   n o t   b e   a v a i l a b l e ;   n e i t h e r   d o e s   i t   r e p r e s e n t   t h a t   i t 
       h a s   m a d e   a n y   e f f o r t   t o   i d e n t i f y   a n y   s u c h   r i g h t s .     I n f o r m a t i o n   o n   t h e 
       I E T F ' s   p r o c e d u r e s   w i t h   r e s p e c t   t o   r i g h t s   i n   s t a n d a r d s - t r a c k   a n d 
       s t a n d a r d s - r e l a t e d   d o c u m e n t a t i o n   c a n   b e   f o u n d   i n   B C P - 1 1 .     C o p i e s   o f 
       c l a i m s   o f   r i g h t s   m a d e   a v a i l a b l e   f o r   p u b l i c a t i o n   a n d   a n y   a s s u r a n c e s   o f 
       l i c e n s e s   t o   b e   m a d e   a v a i l a b l e ,   o r   t h e   r e s u l t   o f   a n   a t t e m p t   m a d e   t o 
       o b t a i n   a   g e n e r a l   l i c e n s e   o r   p e r m i s s i o n   f o r   t h e   u s e   o f   s u c h 
       p r o p r i e t a r y   r i g h t s   b y   i m p l e m e n t o r s   o r   u s e r s   o f   t h i s   s p e c i f i c a t i o n   c a n 
       b e   o b t a i n e d   f r o m   t h e   I E T F   S e c r e t a r i a t . 
 
       T h e   I E T F   i n v i t e s   a n y   i n t e r e s t e d   p a r t y   t o   b r i n g   t o   i t s   a t t e n t i o n   a n y 
       c o p y r i g h t s ,   p a t e n t s   o r   p a t e n t   a p p l i c a t i o n s ,   o r   o t h e r   p r o p r i e t a r y 
       r i g h t s   w h i c h   m a y   c o v e r   t e c h n o l o g y   t h a t   m a y   b e   r e q u i r e d   t o   p r a c t i c e 
       t h i s   s t a n d a r d .     P l e a s e   a d d r e s s   t h e   i n f o r m a t i o n   t o   t h e   I E T F   E x e c u t i v e 
       D i r e c t o r . 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   3 0 ] 
  
 R F C   3 1 7 6                               I n M o n   C o r p o r a t i o n ' s   s F l o w                     S e p t e m b e r   2 0 0 1 
 
 
 9 .     F u l l   C o p y r i g h t   S t a t e m e n t 
 
       C o p y r i g h t   ( C )   T h e   I n t e r n e t   S o c i e t y   ( 2 0 0 1 ) .     A l l   R i g h t s   R e s e r v e d . 
 
       T h i s   d o c u m e n t   a n d   t r a n s l a t i o n s   o f   i t   m a y   b e   c o p i e d   a n d   f u r n i s h e d   t o 
       o t h e r s ,   a n d   d e r i v a t i v e   w o r k s   t h a t   c o m m e n t   o n   o r   o t h e r w i s e   e x p l a i n   i t 
       o r   a s s i s t   i n   i t s   i m p l e m e n t a t i o n   m a y   b e   p r e p a r e d ,   c o p i e d ,   p u b l i s h e d 
       a n d   d i s t r i b u t e d ,   i n   w h o l e   o r   i n   p a r t ,   w i t h o u t   r e s t r i c t i o n   o f   a n y 
       k i n d ,   p r o v i d e d   t h a t   t h e   a b o v e   c o p y r i g h t   n o t i c e   a n d   t h i s   p a r a g r a p h   a r e 
       i n c l u d e d   o n   a l l   s u c h   c o p i e s   a n d   d e r i v a t i v e   w o r k s .     H o w e v e r ,   t h i s 
       d o c u m e n t   i t s e l f   m a y   n o t   b e   m o d i f i e d   i n   a n y   w a y ,   s u c h   a s   b y   r e m o v i n g 
       t h e   c o p y r i g h t   n o t i c e   o r   r e f e r e n c e s   t o   t h e   I n t e r n e t   S o c i e t y   o r   o t h e r 
       I n t e r n e t   o r g a n i z a t i o n s ,   e x c e p t   a s   n e e d e d   f o r   t h e   p u r p o s e   o f 
       d e v e l o p i n g   I n t e r n e t   s t a n d a r d s   i n   w h i c h   c a s e   t h e   p r o c e d u r e s   f o r 
       c o p y r i g h t s   d e f i n e d   i n   t h e   I n t e r n e t   S t a n d a r d s   p r o c e s s   m u s t   b e 
       f o l l o w e d ,   o r   a s   r e q u i r e d   t o   t r a n s l a t e   i t   i n t o   l a n g u a g e s   o t h e r   t h a n 
       E n g l i s h . 
 
       T h e   l i m i t e d   p e r m i s s i o n s   g r a n t e d   a b o v e   a r e   p e r p e t u a l   a n d   w i l l   n o t   b e 
       r e v o k e d   b y   t h e   I n t e r n e t   S o c i e t y   o r   i t s   s u c c e s s o r s   o r   a s s i g n s . 
 
       T h i s   d o c u m e n t   a n d   t h e   i n f o r m a t i o n   c o n t a i n e d   h e r e i n   i s   p r o v i d e d   o n   a n 
       " A S   I S "   b a s i s   a n d   T H E   I N T E R N E T   S O C I E T Y   A N D   T H E   I N T E R N E T   E N G I N E E R I N G 
       T A S K   F O R C E   D I S C L A I M S   A L L   W A R R A N T I E S ,   E X P R E S S   O R   I M P L I E D ,   I N C L U D I N G 
       B U T   N O T   L I M I T E D   T O   A N Y   W A R R A N T Y   T H A T   T H E   U S E   O F   T H E   I N F O R M A T I O N 
       H E R E I N   W I L L   N O T   I N F R I N G E   A N Y   R I G H T S   O R   A N Y   I M P L I E D   W A R R A N T I E S   O F 
       M E R C H A N T A B I L I T Y   O R   F I T N E S S   F O R   A   P A R T I C U L A R   P U R P O S E . 
 
 A c k n o w l e d g e m e n t 
 
       F u n d i n g   f o r   t h e   R F C   E d i t o r   f u n c t i o n   i s   c u r r e n t l y   p r o v i d e d   b y   t h e 
       I n t e r n e t   S o c i e t y . 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 P h a a l ,   e t   a l .                                 I n f o r m a t i o n a l                                           [ P a g e   3 1 ] 
  
 